[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 11:36:06 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit f5d49eb9c384736d4327c9ef29225fe7434e9260
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 30 11:43:41 2010 +0000

    2010-07-30  Hans Wennborg  <hans at chromium.org>
    
            Reviewed by Steve Block.
    
            Disable runtime switch for device orientation in chromium
            https://bugs.webkit.org/show_bug.cgi?id=43237
    
            Explicitly set the runtime switch for device orientation
            in WebView::create until we implement the feature.
            If the flag is accidentally on while no DeviceOrientationClient
            is provided, the program will crash.
    
            * src/WebViewImpl.cpp:
            (WebKit::WebView::create):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64350 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 05c9058..3222cd8 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,18 @@
+2010-07-30  Hans Wennborg  <hans at chromium.org>
+
+        Reviewed by Steve Block.
+
+        Disable runtime switch for device orientation in chromium
+        https://bugs.webkit.org/show_bug.cgi?id=43237
+
+        Explicitly set the runtime switch for device orientation
+        in WebView::create until we implement the feature.
+        If the flag is accidentally on while no DeviceOrientationClient
+        is provided, the program will crash.
+
+        * src/WebViewImpl.cpp:
+        (WebKit::WebView::create):
+
 2010-07-26  Andrei Popescu  <andreip at google.com>
 
         Reviewed by Jeremy Orlow.
diff --git a/WebKit/chromium/src/WebViewImpl.cpp b/WebKit/chromium/src/WebViewImpl.cpp
index bb6d07c..691f143 100644
--- a/WebKit/chromium/src/WebViewImpl.cpp
+++ b/WebKit/chromium/src/WebViewImpl.cpp
@@ -106,6 +106,7 @@
 #include "WebPoint.h"
 #include "WebPopupMenuImpl.h"
 #include "WebRect.h"
+#include "WebRuntimeFeatures.h"
 #include "WebSettingsImpl.h"
 #include "WebString.h"
 #include "WebVector.h"
@@ -176,6 +177,9 @@ static const PopupContainerSettings autoFillPopupSettings = {
 
 WebView* WebView::create(WebViewClient* client, WebDevToolsAgentClient* devToolsClient)
 {
+    // Keep runtime flag for device orientation turned off until it's implemented.
+    WebRuntimeFeatures::enableDeviceOrientation(false);
+
     // Pass the WebViewImpl's self-reference to the caller.
     return adoptRef(new WebViewImpl(client, devToolsClient)).leakRef();
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list