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

Unified Diff: Source/core/layout/LayoutObject.h

Issue 1043643002: Switch line layout to LayoutUnit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 5 years, 7 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: Source/core/layout/LayoutObject.h
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h
index ac81dc11ba68ece0e8fda0cc03149a483e578e06..f4d80a8a23ffb7c2bfcf0d47501a8a3bd5c26f2d 100644
--- a/Source/core/layout/LayoutObject.h
+++ b/Source/core/layout/LayoutObject.h
@@ -105,7 +105,7 @@ enum MapCoordinatesMode {
};
typedef unsigned MapCoordinatesFlags;
-const int caretWidth = 1;
+const LayoutUnit& caretWidth();
struct AnnotatedRegionValue {
bool operator==(const AnnotatedRegionValue& o) const

Powered by Google App Engine
This is Rietveld 408576698