Title: [127552] trunk/Source/WebKit2
Revision
127552
Author
[email protected]
Date
2012-09-04 21:40:29 -0700 (Tue, 04 Sep 2012)

Log Message

[WK2] Use explicit constructor in InjectedBundle.
https://bugs.webkit.org/show_bug.cgi?id=95746

Patch by Kangil Han <[email protected]> on 2012-09-04
Reviewed by Sam Weinig.

Added explicit keyword in constructor of InjectedBundle in order to avoid implicit type conversion.

* WebProcess/InjectedBundle/InjectedBundle.h:
(InjectedBundle):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (127551 => 127552)


--- trunk/Source/WebKit2/ChangeLog	2012-09-05 04:27:14 UTC (rev 127551)
+++ trunk/Source/WebKit2/ChangeLog	2012-09-05 04:40:29 UTC (rev 127552)
@@ -1,3 +1,15 @@
+2012-09-04  Kangil Han  <[email protected]>
+
+        [WK2] Use explicit constructor in InjectedBundle.
+        https://bugs.webkit.org/show_bug.cgi?id=95746
+
+        Reviewed by Sam Weinig.
+
+        Added explicit keyword in constructor of InjectedBundle in order to avoid implicit type conversion.
+
+        * WebProcess/InjectedBundle/InjectedBundle.h:
+        (InjectedBundle):
+
 2012-09-03  Sam Weinig  <[email protected]>
 
         Part 1 of removing PlatformString.h, move remaining functions to new homes

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h (127551 => 127552)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h	2012-09-05 04:27:14 UTC (rev 127551)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h	2012-09-05 04:40:29 UTC (rev 127552)
@@ -166,7 +166,7 @@
     void setPageVisibilityState(WebPage*, int state, bool isInitialState);
 
 private:
-    InjectedBundle(const String&);
+    explicit InjectedBundle(const String&);
 
     virtual Type type() const { return APIType; }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to