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

Unified Diff: third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp

Issue 2616863002: Remove TransformOperation::None (Closed)
Patch Set: Created 3 years, 11 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/css/resolver/TransformBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
index 95c4d2d6ffbaf980bd853b7d07ea971e20e235e4..5ed1c300cdbbd1e42ebee95561869c404722f96d 100644
--- a/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
@@ -97,8 +97,7 @@ static TransformOperation::OperationType getTransformOperationType(
return TransformOperation::Perspective;
default:
ASSERT_NOT_REACHED();
- // FIXME: We shouldn't have a type None since we never create them
- return TransformOperation::None;
+ return TransformOperation::Scale;
alancutter (OOO until 2018) 2017/01/05 06:46:39 Optional nit: Consider putting the default case at
}
}

Powered by Google App Engine
This is Rietveld 408576698