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

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

Issue 427563002: Remove HTMLFrameElement.width/height (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix tests Created 6 years, 5 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/HTMLFrameElementBase.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameElementBase.cpp
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp
index f128bd53d80bc76c98efee1c5f9a0f36ddf8482f..c53d22a50dfac1f582225371751363a848cf6299 100644
--- a/Source/core/html/HTMLFrameElementBase.cpp
+++ b/Source/core/html/HTMLFrameElementBase.cpp
@@ -207,22 +207,6 @@ bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) co
return attribute.name() == srcdocAttr || HTMLFrameOwnerElement::isHTMLContentAttribute(attribute);
}
-int HTMLFrameElementBase::width()
-{
- document().updateLayoutIgnorePendingStylesheets();
- if (!renderBox())
- return 0;
- return renderBox()->width();
-}
-
-int HTMLFrameElementBase::height()
-{
- document().updateLayoutIgnorePendingStylesheets();
- if (!renderBox())
- return 0;
- return renderBox()->height();
-}
-
// FIXME: Remove this code once we have input routing in the browser
// process. See http://crbug.com/339659.
void HTMLFrameElementBase::defaultEventHandler(Event* event)
« no previous file with comments | « Source/core/html/HTMLFrameElementBase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698