Title: [137628] branches/safari-536.28-branch

Diff

Modified: branches/safari-536.28-branch/Source/WebKit2/ChangeLog (137627 => 137628)


--- branches/safari-536.28-branch/Source/WebKit2/ChangeLog	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Source/WebKit2/ChangeLog	2012-12-13 19:23:27 UTC (rev 137628)
@@ -1,5 +1,9 @@
 2012-12-13  Lucas Forschler  <[email protected]>
 
+    Rollout r133942 and 133943
+
+2012-12-13  Lucas Forschler  <[email protected]>
+
     Rollout r133946
 
 2012-12-13  Lucas Forschler  <[email protected]>

Modified: branches/safari-536.28-branch/Source/WebKit2/Shared/WebPreferencesStore.h (137627 => 137628)


--- branches/safari-536.28-branch/Source/WebKit2/Shared/WebPreferencesStore.h	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Source/WebKit2/Shared/WebPreferencesStore.h	2012-12-13 19:23:27 UTC (rev 137628)
@@ -113,7 +113,6 @@
     macro(WantsBalancedSetDefersLoadingBehavior, wantsBalancedSetDefersLoadingBehavior, Bool, bool, false) \
     macro(DiagnosticLoggingEnabled, diagnosticLoggingEnabled, Bool, bool, false) \
     macro(AsynchronousPluginInitializationEnabled, asynchronousPluginInitializationEnabled, Bool, bool, false) \
-    macro(AsynchronousPluginInitializationEnabledForAllPlugins, asynchronousPluginInitializationEnabledForAllPlugins, Bool, bool, false) \
     macro(ArtificialPluginInitializationDelayEnabled, artificialPluginInitializationDelayEnabled, Bool, bool, false) \
     macro(CookieEnabled, cookieEnabled, Bool, bool, true) \
     \

Modified: branches/safari-536.28-branch/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp (137627 => 137628)


--- branches/safari-536.28-branch/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp	2012-12-13 19:23:27 UTC (rev 137628)
@@ -825,16 +825,6 @@
     return toImpl(preferencesRef)->asynchronousPluginInitializationEnabled();
 }
 
-void WKPreferencesSetAsynchronousPluginInitializationEnabledForAllPlugins(WKPreferencesRef preferencesRef, bool enabled)
-{
-    toImpl(preferencesRef)->setAsynchronousPluginInitializationEnabledForAllPlugins(enabled);
-}
-
-bool WKPreferencesGetAsynchronousPluginInitializationEnabledForAllPlugins(WKPreferencesRef preferencesRef)
-{
-    return toImpl(preferencesRef)->asynchronousPluginInitializationEnabledForAllPlugins();
-}
-
 void WKPreferencesSetArtificialPluginInitializationDelayEnabled(WKPreferencesRef preferencesRef, bool enabled)
 {
     toImpl(preferencesRef)->setArtificialPluginInitializationDelayEnabled(enabled);

Modified: branches/safari-536.28-branch/Source/WebKit2/UIProcess/API/C/WKPreferencesPrivate.h (137627 => 137628)


--- branches/safari-536.28-branch/Source/WebKit2/UIProcess/API/C/WKPreferencesPrivate.h	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Source/WebKit2/UIProcess/API/C/WKPreferencesPrivate.h	2012-12-13 19:23:27 UTC (rev 137628)
@@ -188,10 +188,6 @@
 WK_EXPORT bool WKPreferencesGetAsynchronousPluginInitializationEnabled(WKPreferencesRef preferencesRef);
 
 // Defaults to false
-WK_EXPORT void WKPreferencesSetAsynchronousPluginInitializationEnabledForAllPlugins(WKPreferencesRef preferencesRef, bool enabled);
-WK_EXPORT bool WKPreferencesGetAsynchronousPluginInitializationEnabledForAllPlugins(WKPreferencesRef preferencesRef);
-
-// Defaults to false
 WK_EXPORT void WKPreferencesSetArtificialPluginInitializationDelayEnabled(WKPreferencesRef preferencesRef, bool enabled);
 WK_EXPORT bool WKPreferencesGetArtificialPluginInitializationDelayEnabled(WKPreferencesRef preferencesRef);
 

Modified: branches/safari-536.28-branch/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp (137627 => 137628)


--- branches/safari-536.28-branch/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp	2012-12-13 19:23:27 UTC (rev 137628)
@@ -125,30 +125,6 @@
 
     // FIXME: Need an explicit way to set "WebKitTabToLinksPreferenceKey" directly in WebPage.
 
-    if (preference == "WebKit2AsynchronousPluginInitializationEnabled") {
-        WebPreferencesStore::overrideBoolValueForKey(WebPreferencesKey::asynchronousPluginInitializationEnabledKey(), enabled);
-        for (HashSet<Page*>::iterator i = pages.begin(); i != pages.end(); ++i) {
-            WebPage* webPage = static_cast<WebFrameLoaderClient*>((*i)->mainFrame()->loader()->client())->webFrame()->page();
-            webPage->setAsynchronousPluginInitializationEnabled(enabled);
-        }
-    }
-
-    if (preference == "WebKit2AsynchronousPluginInitializationEnabledForAllPlugins") {
-        WebPreferencesStore::overrideBoolValueForKey(WebPreferencesKey::asynchronousPluginInitializationEnabledForAllPluginsKey(), enabled);
-        for (HashSet<Page*>::iterator i = pages.begin(); i != pages.end(); ++i) {
-            WebPage* webPage = static_cast<WebFrameLoaderClient*>((*i)->mainFrame()->loader()->client())->webFrame()->page();
-            webPage->setAsynchronousPluginInitializationEnabledForAllPlugins(enabled);
-        }
-    }
-
-    if (preference == "WebKit2ArtificialPluginInitializationDelayEnabled") {
-        WebPreferencesStore::overrideBoolValueForKey(WebPreferencesKey::artificialPluginInitializationDelayEnabledKey(), enabled);
-        for (HashSet<Page*>::iterator i = pages.begin(); i != pages.end(); ++i) {
-            WebPage* webPage = static_cast<WebFrameLoaderClient*>((*i)->mainFrame()->loader()->client())->webFrame()->page();
-            webPage->setArtificialPluginInitializationDelayEnabled(enabled);
-        }
-    }
-
     // Map the names used in LayoutTests with the names used in WebCore::Settings and WebPreferencesStore.
 #define FOR_EACH_OVERRIDE_BOOL_PREFERENCE(macro) \
     macro(WebKitAcceleratedCompositingEnabled, AcceleratedCompositingEnabled, acceleratedCompositingEnabled) \

Modified: branches/safari-536.28-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (137627 => 137628)


--- branches/safari-536.28-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2012-12-13 19:23:27 UTC (rev 137628)
@@ -190,7 +190,6 @@
     , m_isClosed(false)
     , m_tabToLinks(false)
     , m_asynchronousPluginInitializationEnabled(false)
-    , m_asynchronousPluginInitializationEnabledForAllPlugins(false)
     , m_artificialPluginInitializationDelayEnabled(false)
 #if PLATFORM(MAC)
     , m_windowIsVisible(false)
@@ -1906,7 +1905,6 @@
 
     m_tabToLinks = store.getBoolValueForKey(WebPreferencesKey::tabsToLinksKey());
     m_asynchronousPluginInitializationEnabled = store.getBoolValueForKey(WebPreferencesKey::asynchronousPluginInitializationEnabledKey());
-    m_asynchronousPluginInitializationEnabledForAllPlugins = store.getBoolValueForKey(WebPreferencesKey::asynchronousPluginInitializationEnabledForAllPluginsKey());
     m_artificialPluginInitializationDelayEnabled = store.getBoolValueForKey(WebPreferencesKey::artificialPluginInitializationDelayEnabledKey());
 
     // FIXME: This should be generated from macro expansion for all preferences,

Modified: branches/safari-536.28-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h (137627 => 137628)


--- branches/safari-536.28-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Source/WebKit2/WebProcess/WebPage/WebPage.h	2012-12-13 19:23:27 UTC (rev 137628)
@@ -534,11 +534,7 @@
 #endif
 
     bool asynchronousPluginInitializationEnabled() const { return m_asynchronousPluginInitializationEnabled; }
-    void setAsynchronousPluginInitializationEnabled(bool enabled) { m_asynchronousPluginInitializationEnabled = enabled; }
-    bool asynchronousPluginInitializationEnabledForAllPlugins() const { return m_asynchronousPluginInitializationEnabledForAllPlugins; }
-    void setAsynchronousPluginInitializationEnabledForAllPlugins(bool enabled) { m_asynchronousPluginInitializationEnabledForAllPlugins = enabled; }
     bool artificialPluginInitializationDelayEnabled() const { return m_artificialPluginInitializationDelayEnabled; }
-    void setArtificialPluginInitializationDelayEnabled(bool enabled) { m_artificialPluginInitializationDelayEnabled = enabled; }
 
 private:
     WebPage(uint64_t pageID, const WebPageCreationParameters&);
@@ -723,7 +719,6 @@
     bool m_tabToLinks;
     
     bool m_asynchronousPluginInitializationEnabled;
-    bool m_asynchronousPluginInitializationEnabledForAllPlugins;
     bool m_artificialPluginInitializationDelayEnabled;
 
 #if PLATFORM(MAC)

Modified: branches/safari-536.28-branch/Tools/ChangeLog (137627 => 137628)


--- branches/safari-536.28-branch/Tools/ChangeLog	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Tools/ChangeLog	2012-12-13 19:23:27 UTC (rev 137628)
@@ -1,5 +1,9 @@
 2012-12-13  Lucas Forschler  <[email protected]>
 
+    Rollout r133942 & 133943
+
+2012-12-13  Lucas Forschler  <[email protected]>
+
     Rollout r133946
 
 2012-12-13  Lucas Forschler  <[email protected]>

Modified: branches/safari-536.28-branch/Tools/WebKitTestRunner/TestController.cpp (137627 => 137628)


--- branches/safari-536.28-branch/Tools/WebKitTestRunner/TestController.cpp	2012-12-13 19:23:23 UTC (rev 137627)
+++ branches/safari-536.28-branch/Tools/WebKitTestRunner/TestController.cpp	2012-12-13 19:23:27 UTC (rev 137628)
@@ -451,9 +451,6 @@
     WKPreferencesSetFullScreenEnabled(preferences, true);
 #endif
     WKPreferencesSetPageCacheEnabled(preferences, false);
-    WKPreferencesSetAsynchronousPluginInitializationEnabled(preferences, false);
-    WKPreferencesSetAsynchronousPluginInitializationEnabledForAllPlugins(preferences, false);
-    WKPreferencesSetArtificialPluginInitializationDelayEnabled(preferences, false);
 
 // [Qt][WK2]REGRESSION(r104881):It broke hundreds of tests
 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=76247
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to