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

Unified Diff: third_party/WebKit/Source/core/style/StyleVisualData.cpp

Issue 2687533004: Add DCHECK in copy constructor of StyleVisualData for m_zoom. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleVisualData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleVisualData.cpp b/third_party/WebKit/Source/core/style/StyleVisualData.cpp
index c4ea3d0f720a0a5eb5887a2e6bf8138b6577a708..55a9a72afeab31347b540c1f6fd396bfc366d1b1 100644
--- a/third_party/WebKit/Source/core/style/StyleVisualData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleVisualData.cpp
@@ -37,6 +37,8 @@ StyleVisualData::StyleVisualData(const StyleVisualData& o)
clip(o.clip),
hasAutoClip(o.hasAutoClip),
textDecoration(o.textDecoration),
- m_zoom(ComputedStyle::initialZoom()) {}
+ m_zoom(ComputedStyle::initialZoom()) {
+ DCHECK(m_zoom == o.m_zoom); // crbug.com/689330
+}
} // namespace blink
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698