Title: [200193] trunk/Source/WebKit2
- Revision
- 200193
- Author
- [email protected]
- Date
- 2016-04-28 10:03:14 -0700 (Thu, 28 Apr 2016)
Log Message
Fix mistake in custom elements runtime flag
https://bugs.webkit.org/show_bug.cgi?id=157130
Reviewed by Chris Dumez.
The methods for the custom elements runtime flag were using
the Shadow DOM flag instead.
These methods were introduced in r197921,
it seems it was just a copy&paste mistake.
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetCustomElementsEnabled):
(WKPreferencesGetCustomElementsEnabled):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (200192 => 200193)
--- trunk/Source/WebKit2/ChangeLog 2016-04-28 15:41:46 UTC (rev 200192)
+++ trunk/Source/WebKit2/ChangeLog 2016-04-28 17:03:14 UTC (rev 200193)
@@ -1,3 +1,19 @@
+2016-04-28 Manuel Rego Casasnovas <[email protected]>
+
+ Fix mistake in custom elements runtime flag
+ https://bugs.webkit.org/show_bug.cgi?id=157130
+
+ Reviewed by Chris Dumez.
+
+ The methods for the custom elements runtime flag were using
+ the Shadow DOM flag instead.
+ These methods were introduced in r197921,
+ it seems it was just a copy&paste mistake.
+
+ * UIProcess/API/C/WKPreferences.cpp:
+ (WKPreferencesSetCustomElementsEnabled):
+ (WKPreferencesGetCustomElementsEnabled):
+
2016-04-28 Carlos Garcia Campos <[email protected]>
Unreviewed. Add missing files to the compilation of GTK+ inspector.
Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp (200192 => 200193)
--- trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp 2016-04-28 15:41:46 UTC (rev 200192)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp 2016-04-28 17:03:14 UTC (rev 200193)
@@ -1513,12 +1513,12 @@
void WKPreferencesSetCustomElementsEnabled(WKPreferencesRef preferencesRef, bool flag)
{
- toImpl(preferencesRef)->setShadowDOMEnabled(flag);
+ toImpl(preferencesRef)->setCustomElementsEnabled(flag);
}
bool WKPreferencesGetCustomElementsEnabled(WKPreferencesRef preferencesRef)
{
- return toImpl(preferencesRef)->shadowDOMEnabled();
+ return toImpl(preferencesRef)->customElementsEnabled();
}
void WKPreferencesSetFetchAPIEnabled(WKPreferencesRef preferencesRef, bool flag)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes