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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1732563007: [NOT FOR COMMIT] Pass defaultObjectSize to get image size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index b64438310952189c839cc91f4cd6784215ab5d59..a02ae40ce2ab20133170e93b5ff461ec6d9e1421 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2109,7 +2109,7 @@ String Internals::getCurrentCursorInfo()
result.append(',');
result.appendNumber(cursor.hotSpot().y());
if (cursor.image()) {
- IntSize size = cursor.image()->size();
+ IntSize size = cursor.image()->defaultConcreteObjectSize();
result.appendLiteral(" image=");
result.appendNumber(size.width());
result.append('x');

Powered by Google App Engine
This is Rietveld 408576698