Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp

Issue 2763333002: Convert device sensors structs from Blink to Chromium naming (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp
index 6bcd20b404dbd4a96b144b73d4ea334f85337ddd..547b9323fa49a43af2e530a92db884a4f2063ba8 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp
@@ -61,11 +61,11 @@ DeviceOrientationData* DeviceOrientationData::create(
Nullable<double> alpha;
Nullable<double> beta;
Nullable<double> gamma;
- if (data.hasAlpha)
+ if (data.has_alpha)
alpha = data.alpha;
- if (data.hasBeta)
+ if (data.has_beta)
beta = data.beta;
- if (data.hasGamma)
+ if (data.has_gamma)
gamma = data.gamma;
return DeviceOrientationData::create(alpha, beta, gamma, data.absolute);
}
« no previous file with comments | « third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698