Title: [126958] trunk/Source/WebKit2
- Revision
- 126958
- Author
- [email protected]
- Date
- 2012-08-28 22:10:04 -0700 (Tue, 28 Aug 2012)
Log Message
[WK2] Use explicit constructor in PageClientImpl.
https://bugs.webkit.org/show_bug.cgi?id=95170
Patch by Kangil Han <[email protected]> on 2012-08-28
Reviewed by Darin Adler.
Added explicit keyword in constructor of PageClientImpl in order to avoid implicit type conversion.
* UIProcess/API/gtk/PageClientImpl.h:
(PageClientImpl):
* UIProcess/API/mac/PageClientImpl.h:
(PageClientImpl):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (126957 => 126958)
--- trunk/Source/WebKit2/ChangeLog 2012-08-29 05:09:23 UTC (rev 126957)
+++ trunk/Source/WebKit2/ChangeLog 2012-08-29 05:10:04 UTC (rev 126958)
@@ -1,3 +1,17 @@
+2012-08-28 Kangil Han <[email protected]>
+
+ [WK2] Use explicit constructor in PageClientImpl.
+ https://bugs.webkit.org/show_bug.cgi?id=95170
+
+ Reviewed by Darin Adler.
+
+ Added explicit keyword in constructor of PageClientImpl in order to avoid implicit type conversion.
+
+ * UIProcess/API/gtk/PageClientImpl.h:
+ (PageClientImpl):
+ * UIProcess/API/mac/PageClientImpl.h:
+ (PageClientImpl):
+
2012-08-28 Rik Cabanier <[email protected]>
Add ENABLE_CSS_COMPOSITING flag to WebKit2 project
Modified: trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.h (126957 => 126958)
--- trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.h 2012-08-29 05:09:23 UTC (rev 126957)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.h 2012-08-29 05:10:04 UTC (rev 126958)
@@ -51,7 +51,7 @@
GtkWidget* viewWidget() { return m_viewWidget; }
private:
- PageClientImpl(GtkWidget*);
+ explicit PageClientImpl(GtkWidget*);
virtual PassOwnPtr<DrawingAreaProxy> createDrawingAreaProxy();
virtual void setViewNeedsDisplay(const WebCore::IntRect&);
Modified: trunk/Source/WebKit2/UIProcess/API/mac/PageClientImpl.h (126957 => 126958)
--- trunk/Source/WebKit2/UIProcess/API/mac/PageClientImpl.h 2012-08-29 05:09:23 UTC (rev 126957)
+++ trunk/Source/WebKit2/UIProcess/API/mac/PageClientImpl.h 2012-08-29 05:10:04 UTC (rev 126958)
@@ -48,7 +48,7 @@
void viewWillMoveToAnotherWindow();
private:
- PageClientImpl(WKView*);
+ explicit PageClientImpl(WKView*);
virtual PassOwnPtr<DrawingAreaProxy> createDrawingAreaProxy();
virtual void setViewNeedsDisplay(const WebCore::IntRect&);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes