Title: [121091] trunk/Source/WebKit/chromium
Revision
121091
Author
[email protected]
Date
2012-06-23 02:50:59 -0700 (Sat, 23 Jun 2012)

Log Message

[chromium] Return has value, in function returning void
https://bugs.webkit.org/show_bug.cgi?id=89805

Patch by Kwang Yul Seo <[email protected]> on 2012-06-23
Reviewed by Adam Barth.

Make WebFrameImpl::replaceSelection not return a value because it is a function returning void.

* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::replaceSelection):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (121090 => 121091)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-06-23 08:26:27 UTC (rev 121090)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-06-23 09:50:59 UTC (rev 121091)
@@ -1,3 +1,15 @@
+2012-06-23  Kwang Yul Seo  <[email protected]>
+
+        [chromium] Return has value, in function returning void
+        https://bugs.webkit.org/show_bug.cgi?id=89805
+
+        Reviewed by Adam Barth.
+
+        Make WebFrameImpl::replaceSelection not return a value because it is a function returning void.
+
+        * src/WebFrameImpl.cpp:
+        (WebKit::WebFrameImpl::replaceSelection):
+
 2012-06-22  Sheriff Bot  <[email protected]>
 
         Unreviewed.  Rolled DEPS.

Modified: trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp (121090 => 121091)


--- trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp	2012-06-23 08:26:27 UTC (rev 121090)
+++ trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp	2012-06-23 09:50:59 UTC (rev 121091)
@@ -1162,7 +1162,7 @@
 {
     bool selectReplacement = false;
     bool smartReplace = true;
-    return frame()->editor()->replaceSelectionWithText(text, selectReplacement, smartReplace);
+    frame()->editor()->replaceSelectionWithText(text, selectReplacement, smartReplace);
 }
 
 void WebFrameImpl::insertText(const WebString& text)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to