[WinCairo] Compile error, WebEditorClient::didApplyStyle() should not have any parame...
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 11:26:04 +0000 (11:26 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 11:26:04 +0000 (11:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=146450

Reviewed by Csaba Osztrogon√°c.

* WebCoreSupport/WebEditorClient.cpp:
(WebEditorClient::shouldApplyStyle):
(WebEditorClient::didApplyStyle):
* WebCoreSupport/WebEditorClient.h:

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

Source/WebKit/win/ChangeLog
Source/WebKit/win/WebCoreSupport/WebEditorClient.cpp
Source/WebKit/win/WebCoreSupport/WebEditorClient.h

index 1612de7..e854531 100644 (file)
@@ -1,3 +1,15 @@
+2015-06-30  Per Arne Vollan  <peavo@outlook.com>
+
+        [WinCairo] Compile error, WebEditorClient::didApplyStyle() should not have any parameters.
+        https://bugs.webkit.org/show_bug.cgi?id=146450
+
+        Reviewed by Csaba Osztrogon√°c.
+
+        * WebCoreSupport/WebEditorClient.cpp:
+        (WebEditorClient::shouldApplyStyle):
+        (WebEditorClient::didApplyStyle):
+        * WebCoreSupport/WebEditorClient.h:
+
 2015-06-27  Ryosuke Niwa  <rniwa@webkit.org>
 
         Font panel doesn't get updated when bolding text via cmd+b in Mail on OS X
index 59043b7..0d49b3b 100644 (file)
@@ -345,7 +345,7 @@ bool WebEditorClient::shouldApplyStyle(StyleProperties*, Range*)
     return true;
 }
 
-void WebEditorClient::didApplyStyle(StyleProperties*, Range*)
+void WebEditorClient::didApplyStyle()
 {
     notImplemented();
 }
index 843078f..30a252a 100644 (file)
@@ -66,7 +66,7 @@ public:
 
     bool shouldInsertNode(WebCore::Node*, WebCore::Range* replacingRange, WebCore::EditorInsertAction);
     bool shouldApplyStyle(WebCore::StyleProperties*, WebCore::Range*);
-    void didApplyStyle(WebCore::StyleProperties*, WebCore::Range*);
+    void didApplyStyle();
     bool shouldMoveRangeAfterDelete(WebCore::Range*, WebCore::Range*);
     bool shouldChangeTypingStyle(WebCore::StyleProperties* currentStyle, WebCore::StyleProperties* toProposedStyle);