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

Unified Diff: sky/engine/core/fetch/ImageResource.h

Issue 776743002: Make v8 inspector not crash (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/bindings/core/v8/DebuggerScript.js ('k') | sky/engine/core/fetch/ImageResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/fetch/ImageResource.h
diff --git a/sky/engine/core/fetch/ImageResource.h b/sky/engine/core/fetch/ImageResource.h
index a121f82ca84d680405586688c3a2e7290a670aa8..c47bba43b1310416bdd29f6c49a276c63044d851 100644
--- a/sky/engine/core/fetch/ImageResource.h
+++ b/sky/engine/core/fetch/ImageResource.h
@@ -58,8 +58,6 @@ public:
bool hasImage() const { return m_image.get(); }
bool currentFrameKnownToBeOpaque(const RenderObject*); // Side effect: ensures decoded image is in cache, therefore should only be called when about to draw the image.
- static std::pair<blink::Image*, float> brokenImage(float deviceScaleFactor); // Returns an image and the image's resolution scale factor.
-
bool canRender(const RenderObject& renderer) { return !errorOccurred() && !imageSizeForRenderer(&renderer).isEmpty(); }
void setContainerSizeForRenderer(const ImageResourceClient*, const IntSize&);
« no previous file with comments | « sky/engine/bindings/core/v8/DebuggerScript.js ('k') | sky/engine/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698