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

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

Issue 2714283002: Fix unexpected blurry text caused by combination of skew and promotion (Closed)
Patch Set: Layout test update && bug fix 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/platform/transforms/TransformOperation.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/TransformOperations.h
diff --git a/third_party/WebKit/Source/platform/transforms/TransformOperations.h b/third_party/WebKit/Source/platform/transforms/TransformOperations.h
index 08f3ef35e518c0dffd07d3095e77559d271af20c..f1501773402e93e7443b3139d2f71abc679787b5 100644
--- a/third_party/WebKit/Source/platform/transforms/TransformOperations.h
+++ b/third_party/WebKit/Source/platform/transforms/TransformOperations.h
@@ -62,6 +62,14 @@ class PLATFORM_EXPORT TransformOperations {
return false;
}
+ bool hasSkew() const {
+ for (unsigned i = 0; i < m_operations.size(); ++i) {
+ if (m_operations[i]->isSkewOperation())
+ return true;
+ }
+ return false;
+ }
+
bool dependsOnBoxSize() const {
for (unsigned i = 0; i < m_operations.size(); ++i) {
if (m_operations[i]->dependsOnBoxSize())
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformOperation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698