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

Unified Diff: Source/core/html/ImageDocument.h

Issue 136823005: Fix distorted image issue when open some images in a new browser window. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: not plumb knowledge to ImageResource Created 6 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: Source/core/html/ImageDocument.h
diff --git a/Source/core/html/ImageDocument.h b/Source/core/html/ImageDocument.h
index 896a46261da7f9affb5c064c054959087710a58b..26d6aeeb8ebf851cceb9adcae91480b1c573ad5a 100644
--- a/Source/core/html/ImageDocument.h
+++ b/Source/core/html/ImageDocument.h
@@ -46,6 +46,7 @@ public:
void windowSizeChanged();
void imageUpdated();
void imageClicked(int x, int y);
+ LayoutSize cachedImageSize(float) const;
private:
ImageDocument(const DocumentInit&);

Powered by Google App Engine
This is Rietveld 408576698