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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameElement.cpp

Issue 2001453002: Set ComputedStyle on Node and use that in buildOwnLayout() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@storage
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/html/HTMLFrameElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp
index f9ca0a2e6065f9cd0440e5547618737e8d62e20e..92d31b76dd994d6ab5854508aa1ae826e461535d 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp
@@ -74,7 +74,7 @@ void HTMLFrameElement::parseAttribute(const QualifiedName& name, const AtomicStr
m_frameBorderSet = !value.isNull();
// FIXME: If we are already attached, this has no effect.
} else if (name == noresizeAttr) {
- if (layoutObject())
+ if (hasLayoutObject())
layoutObject()->updateFromElement();
} else {
HTMLFrameElementBase::parseAttribute(name, oldValue, value);

Powered by Google App Engine
This is Rietveld 408576698