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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableLength.cpp

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 10 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
Index: third_party/WebKit/Source/core/animation/animatable/AnimatableLength.cpp
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLength.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableLength.cpp
index ecc4e5a78d13031a104de39127658eca66d6b55f..80319afff31dd641e2359384c8a5b2c3462a0a68 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLength.cpp
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLength.cpp
@@ -50,7 +50,7 @@ double clampNumber(double value, ValueRange range)
AnimatableLength::AnimatableLength(const Length& length, float zoom)
{
ASSERT(zoom);
- PixelsAndPercent pixelsAndPercent = length.pixelsAndPercent();
+ PixelsAndPercent pixelsAndPercent = length.getPixelsAndPercent();
m_pixels = pixelsAndPercent.pixels / zoom;
m_percent = pixelsAndPercent.percent;
m_hasPixels = length.type() != Percent;

Powered by Google App Engine
This is Rietveld 408576698