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

Unified Diff: third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h

Issue 2286543002: Add Length::isPercent and use it in tables. (Closed)
Patch Set: rebase Created 4 years, 3 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/platform/Length.h ('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/platform/transforms/TranslateTransformOperation.h
diff --git a/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h b/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h
index 2013f490fdd1add521f4650cadf83c3f8e98525d..b1aa02aa229bd4cb6fa3ce99a9d1b8faa2ab7385 100644
--- a/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h
+++ b/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h
@@ -77,7 +77,7 @@ private:
bool dependsOnBoxSize() const override
{
- return m_x.hasPercent() || m_y.hasPercent();
+ return m_x.isPercentOrCalc() || m_y.isPercentOrCalc();
}
TranslateTransformOperation(const Length& tx, const Length& ty, double tz, OperationType type)
« no previous file with comments | « third_party/WebKit/Source/platform/Length.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698