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

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

Issue 14839007: Devirtualize Document class type checking (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Try again Created 7 years, 7 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
« no previous file with comments | « Source/core/html/HTMLDocument.cpp ('k') | Source/core/html/ImageDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ImageDocument.h
diff --git a/Source/core/html/ImageDocument.h b/Source/core/html/ImageDocument.h
index 6f9440462e6e8a828f874fe4a36ada426bf0f789..9dd3253efedb9944a959e4bd8c979fdff9964d06 100644
--- a/Source/core/html/ImageDocument.h
+++ b/Source/core/html/ImageDocument.h
@@ -51,8 +51,7 @@ private:
ImageDocument(Frame*, const KURL&);
virtual PassRefPtr<DocumentParser> createParser();
- virtual bool isImageDocument() const { return true; }
-
+
void createDocumentStructure();
void resizeImageToFit();
void restoreImageSize();
« no previous file with comments | « Source/core/html/HTMLDocument.cpp ('k') | Source/core/html/ImageDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698