Jacek Caban : mshtml: Don't skip history notification for about: URLs.

Alexandre Julliard julliard at winehq.org
Mon Nov 12 14:14:40 CST 2012


Module: wine
Branch: master
Commit: 8f1bb21f35d7ffdb58c9891d599ed0611839d587
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8f1bb21f35d7ffdb58c9891d599ed0611839d587

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Nov 12 12:57:58 2012 +0100

mshtml: Don't skip history notification for about: URLs.

---

 dlls/mshtml/persist.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c
index 457f5dc..210fab0 100644
--- a/dlls/mshtml/persist.c
+++ b/dlls/mshtml/persist.c
@@ -80,15 +80,6 @@ static void notify_travellog_update(HTMLDocumentObj *doc)
     if(!doc->is_webbrowser)
         return;
 
-    /* Don't notify if we were in about: page */
-    if(doc->basedoc.window->uri) {
-        DWORD scheme;
-
-        hres = IUri_GetScheme(doc->basedoc.window->uri, &scheme);
-        if(SUCCEEDED(hres) && scheme == URL_SCHEME_ABOUT)
-            return;
-    }
-
     hres = IOleClientSite_QueryInterface(doc->client, &IID_IOleCommandTarget, (void**)&cmdtrg);
     if(SUCCEEDED(hres)) {
         VARIANT vin;




More information about the wine-cvs mailing list