Title: [120716] trunk/Source/WebKit/chromium
Revision
120716
Author
[email protected]
Date
2012-06-19 08:38:07 -0700 (Tue, 19 Jun 2012)

Log Message

[Chromium] Style Fix in WebDeviceOrientationController
https://bugs.webkit.org/show_bug.cgi?id=89337

Patch by Amy Ousterhout <[email protected]> on 2012-06-19
Reviewed by Steve Block.

Changing a local variable from a PassRefPtr to a RefPtr in order to be consistent with the style guide.

* src/WebDeviceOrientationController.cpp:
(WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (120715 => 120716)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-06-19 15:17:46 UTC (rev 120715)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-06-19 15:38:07 UTC (rev 120716)
@@ -1,3 +1,15 @@
+2012-06-19  Amy Ousterhout  <[email protected]>
+
+        [Chromium] Style Fix in WebDeviceOrientationController
+        https://bugs.webkit.org/show_bug.cgi?id=89337
+
+        Reviewed by Steve Block.
+
+        Changing a local variable from a PassRefPtr to a RefPtr in order to be consistent with the style guide.
+
+        * src/WebDeviceOrientationController.cpp:
+        (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
+
 2012-06-19  Peter Wang  <[email protected]>
 
         Remove the function ScriptDebugServer::supportsNativeBreakpoints()

Modified: trunk/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp (120715 => 120716)


--- trunk/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp	2012-06-19 15:17:46 UTC (rev 120715)
+++ trunk/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp	2012-06-19 15:38:07 UTC (rev 120716)
@@ -35,7 +35,7 @@
 
 void WebDeviceOrientationController::didChangeDeviceOrientation(const WebDeviceOrientation& orientation)
 {
-    PassRefPtr<WebCore::DeviceOrientation> deviceOrientation(orientation);
+    RefPtr<WebCore::DeviceOrientation> deviceOrientation = PassRefPtr<WebCore::DeviceOrientation>(orientation);
     m_controller->didChangeDeviceOrientation(deviceOrientation.get());
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to