WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-71242-20111116131916.patch (text/plain), 2.41 KB, created by
Adam Klein
on 2011-11-16 13:19:17 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Adam Klein
Created:
2011-11-16 13:19:17 PST
Size:
2.41 KB
patch
obsolete
>Subversion Revision: 100479 >diff --git a/Source/WebKit/chromium/ChangeLog b/Source/WebKit/chromium/ChangeLog >index 983004589ab851a02512e2cb0ce43614e88c6a9a..a1426d284a43a08404aeca115f3e2085593f6d22 100644 >--- a/Source/WebKit/chromium/ChangeLog >+++ b/Source/WebKit/chromium/ChangeLog >@@ -1,3 +1,17 @@ >+2011-11-16 Adam Klein <adamk@chromium.org> >+ >+ [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API >+ https://bugs.webkit.org/show_bug.cgi?id=71242 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Added WebKit::runEndOfTaskWork() to the Chromium API with an >+ implementation that delivers mutations to MutationObservers. >+ >+ * public/WebKit.h: >+ * src/WebKit.cpp: >+ (WebKit::runEndOfTaskWork): >+ > 2011-11-16 Alexandre Elias <aelias@google.com> > > [chromium] Add minimum/maximumPageScaleFactor API and clamp fixes >diff --git a/Source/WebKit/chromium/public/WebKit.h b/Source/WebKit/chromium/public/WebKit.h >index 3186c031df3b0594aa5cbd93e9b19270a33c3252..f0bc090bf59aec5b1ef9900ca46bef0979aefc32 100644 >--- a/Source/WebKit/chromium/public/WebKit.h >+++ b/Source/WebKit/chromium/public/WebKit.h >@@ -71,6 +71,11 @@ WEBKIT_EXPORT void enableLogChannel(const char*); > // containing plugins will be reloaded after refreshing the plugin list. > WEBKIT_EXPORT void resetPluginCache(bool reloadPages); > >+// Should be called after each task the embedder processes on the event loop >+// to take care of running any pending work that must be done at this time. >+// Currently used for delivering MutationRecords to MutationObservers. >+WEBKIT_EXPORT void runEndOfTaskWork(); >+ > } // namespace WebKit > > #endif >diff --git a/Source/WebKit/chromium/src/WebKit.cpp b/Source/WebKit/chromium/src/WebKit.cpp >index 7bcd9cf239a51cd52b4297f5edc2008749a06e1f..cf21cd8b278d294d4297f5a1731c34cb76bf384d 100644 >--- a/Source/WebKit/chromium/src/WebKit.cpp >+++ b/Source/WebKit/chromium/src/WebKit.cpp >@@ -39,6 +39,7 @@ > #include "Settings.h" > #include "TextEncoding.h" > #include "V8Binding.h" >+#include "WebKitMutationObserver.h" > #include "WebKitPlatformSupport.h" > #include "WebMediaPlayerClientImpl.h" > #include "WebSocket.h" >@@ -137,4 +138,11 @@ void resetPluginCache(bool reloadPages) > WebCore::Page::refreshPlugins(reloadPages); > } > >+void runEndOfTaskWork() >+{ >+#if ENABLE(MUTATION_OBSERVERS) >+ WebCore::WebKitMutationObserver::deliverAllMutations(); >+#endif >+} >+ > } // namespace WebKit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 71242
:
115432
|
115657
|
116815
|
117032
|
117034
|
117283
|
117658