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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp

Issue 1447273003: Make the FloatSize constructor from an IntSize explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/platform/graphics/ImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
index e35001ddb83cd48d2ba2a8bbbcf1bfec03574daf..4972286eb3821df4815bfbd7ec95e7e97924ca84 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
@@ -67,7 +67,7 @@ void ImageBufferSurface::clear()
} else {
canvas()->clear(SK_ColorTRANSPARENT);
}
- didDraw(FloatRect(FloatPoint(0, 0), size()));
+ didDraw(FloatRect(FloatPoint(0, 0), FloatSize(size())));
}
}

Powered by Google App Engine
This is Rietveld 408576698