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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListMarker.h

Issue 1433503003: Avoid using ImageResource->imageSize() to get the marker size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Let imageBulletSize return IntSize Created 5 years, 1 month 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/layout/LayoutListMarker.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.h b/third_party/WebKit/Source/core/layout/LayoutListMarker.h
index 87f4c08077aa57e774ac9f535f455f7fd92a4e06..a56de34d2a986d5e8e0ec79bee3fd1324b3fb4d5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.h
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.h
@@ -58,6 +58,7 @@ public:
bool isImage() const override;
const StyleImage* image() const { return m_image.get(); }
const LayoutListItem* listItem() const { return m_listItem; }
+ IntSize imageBulletSize() const;
void listItemStyleDidChange();

Powered by Google App Engine
This is Rietveld 408576698