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

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

Issue 17585006: Remove HTMLDocument.width and height properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix device metrics test with Internals API Created 7 years, 6 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.h ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLDocument.cpp
diff --git a/Source/core/html/HTMLDocument.cpp b/Source/core/html/HTMLDocument.cpp
index d157c4c8e99e0b7b826a271494f1f979a0d268b3..ecda17c69c1665845a66ee09b55de15b12e09505 100644
--- a/Source/core/html/HTMLDocument.cpp
+++ b/Source/core/html/HTMLDocument.cpp
@@ -77,20 +77,6 @@ HTMLDocument::~HTMLDocument()
{
}
-int HTMLDocument::width()
-{
- updateLayoutIgnorePendingStylesheets();
- FrameView* frameView = view();
- return frameView ? frameView->contentsWidth() : 0;
-}
-
-int HTMLDocument::height()
-{
- updateLayoutIgnorePendingStylesheets();
- FrameView* frameView = view();
- return frameView ? frameView->contentsHeight() : 0;
-}
-
String HTMLDocument::dir()
{
HTMLElement* b = body();
« no previous file with comments | « Source/core/html/HTMLDocument.h ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698