Unreviewed build fix. Remove assertion that doesn't make sense anymore since the
authorkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 14:33:39 +0000 (14:33 +0000)
committerkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 14:33:39 +0000 (14:33 +0000)
page does not give us access to the Chrome pointer directly anymore.

Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2013-05-17

* webkit/webkitwebview.cpp:
(WebKit::kit):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150256 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/webkit/webkitwebview.cpp

index a10d29a..efdc337 100644 (file)
@@ -1,3 +1,11 @@
+2013-05-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
+
+        Unreviewed build fix. Remove assertion that doesn't make sense anymore since the
+        page does not give us access to the Chrome pointer directly anymore.
+
+        * webkit/webkitwebview.cpp:
+        (WebKit::kit):
+
 2013-05-16  Andreas Kling  <akling@apple.com>
 
         Page::chrome() should return a reference.
index fa5fbe2..d769c04 100644 (file)
@@ -5537,7 +5537,6 @@ WebKitWebView* kit(WebCore::Page* corePage)
     if (!corePage)
         return 0;
 
-    ASSERT(corePage->chrome());
     WebKit::ChromeClient* client = static_cast<WebKit::ChromeClient*>(corePage->chrome().client());
     return client ? static_cast<WebKitWebView*>(client->webView()) : 0;
 }