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

Unified Diff: third_party/WebKit/Source/platform/graphics/GeneratedImage.h

Issue 1489003002: Drop Image::setContainerSize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to ps#1 way, with fixed is_expensive test Created 5 years 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/GeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
index 0a4297ce7108a604b28ac146cd74fa0ead58be07..643312cc3b1626705ca83fdc881180e196276586 100644
--- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
@@ -36,7 +36,6 @@ class PLATFORM_EXPORT GeneratedImage : public Image {
public:
bool currentFrameHasSingleSecurityOrigin() const override { return true; }
- void setContainerSize(const IntSize& size) override { m_size = size; }
bool usesContainerSize() const override { return true; }
bool hasRelativeWidth() const override { return true; }
bool hasRelativeHeight() const override { return true; }

Powered by Google App Engine
This is Rietveld 408576698