Title: [121532] trunk/Source/WebKit/chromium
- Revision
- 121532
- Author
- [email protected]
- Date
- 2012-06-29 02:02:18 -0700 (Fri, 29 Jun 2012)
Log Message
Deleting unused function in WebDeviceOrientation
https://bugs.webkit.org/show_bug.cgi?id=90185
Patch by Amy Ousterhout <[email protected]> on 2012-06-29
Reviewed by Adam Barth.
Deleting the unused copy assignment function in WebDeviceOrientation.
* public/WebDeviceOrientation.h:
(WebDeviceOrientation):
* src/WebDeviceOrientation.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (121531 => 121532)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-06-29 08:55:47 UTC (rev 121531)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-06-29 09:02:18 UTC (rev 121532)
@@ -1,3 +1,16 @@
+2012-06-29 Amy Ousterhout <[email protected]>
+
+ Deleting unused function in WebDeviceOrientation
+ https://bugs.webkit.org/show_bug.cgi?id=90185
+
+ Reviewed by Adam Barth.
+
+ Deleting the unused copy assignment function in WebDeviceOrientation.
+
+ * public/WebDeviceOrientation.h:
+ (WebDeviceOrientation):
+ * src/WebDeviceOrientation.cpp:
+
2012-06-29 Yoshifumi Inoue <[email protected]>
[Platform] Implement Date Time format parser
Modified: trunk/Source/WebKit/chromium/public/WebDeviceOrientation.h (121531 => 121532)
--- trunk/Source/WebKit/chromium/public/WebDeviceOrientation.h 2012-06-29 08:55:47 UTC (rev 121531)
+++ trunk/Source/WebKit/chromium/public/WebDeviceOrientation.h 2012-06-29 09:02:18 UTC (rev 121532)
@@ -87,7 +87,6 @@
#if WEBKIT_IMPLEMENTATION
WebDeviceOrientation(const WebCore::DeviceOrientationData*);
- WebDeviceOrientation& operator=(const WebCore::DeviceOrientationData*);
operator WTF::PassRefPtr<WebCore::DeviceOrientationData>() const;
#endif
Modified: trunk/Source/WebKit/chromium/src/WebDeviceOrientation.cpp (121531 => 121532)
--- trunk/Source/WebKit/chromium/src/WebDeviceOrientation.cpp 2012-06-29 08:55:47 UTC (rev 121531)
+++ trunk/Source/WebKit/chromium/src/WebDeviceOrientation.cpp 2012-06-29 09:02:18 UTC (rev 121532)
@@ -57,33 +57,6 @@
m_absolute = orientation->absolute();
}
-WebDeviceOrientation& WebDeviceOrientation::operator=(const WebCore::DeviceOrientationData* orientation)
-{
- if (!orientation) {
- m_isNull = true;
- m_canProvideAlpha = false;
- m_alpha = 0;
- m_canProvideBeta = false;
- m_beta = 0;
- m_canProvideGamma = false;
- m_gamma = 0;
- m_canProvideAbsolute = false;
- m_absolute = false;
- return *this;
- }
-
- m_isNull = false;
- m_canProvideAlpha = orientation->canProvideAlpha();
- m_alpha = orientation->alpha();
- m_canProvideBeta = orientation->canProvideBeta();
- m_beta = orientation->beta();
- m_canProvideGamma = orientation->canProvideGamma();
- m_gamma = orientation->gamma();
- m_canProvideAbsolute = orientation->canProvideAbsolute();
- m_absolute = orientation->absolute();
- return *this;
-}
-
WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientationData>() const
{
if (m_isNull)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes