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

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

Issue 26444008: Remove several Page.h includes in preparation for removing page/ dependencies from the rest of core (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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.cpp
diff --git a/Source/core/html/ImageDocument.cpp b/Source/core/html/ImageDocument.cpp
index b45b3a24385f58bb2cb7599b1c4784987df6e9ad..70f31d2b92d631b8852a02fd7162a74bf7c09b30 100644
--- a/Source/core/html/ImageDocument.cpp
+++ b/Source/core/html/ImageDocument.cpp
@@ -363,7 +363,7 @@ ImageResource* ImageDocument::cachedImage()
bool ImageDocument::shouldShrinkToFit() const
{
- return frame()->page()->settings().shrinksStandaloneImagesToFit() && frame()->page()->mainFrame() == frame();
+ return frame()->settings()->shrinksStandaloneImagesToFit() && frame()->page()->mainFrame() == frame();
}
void ImageDocument::dispose()

Powered by Google App Engine
This is Rietveld 408576698