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

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

Issue 183893019: Move HTMLContentElement & HTMLShadowElement out of shadow/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build Fix Created 6 years, 10 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/HTMLContentElement.h ('k') | Source/core/html/HTMLContentElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLContentElement.cpp
diff --git a/Source/core/html/shadow/HTMLContentElement.cpp b/Source/core/html/HTMLContentElement.cpp
similarity index 98%
rename from Source/core/html/shadow/HTMLContentElement.cpp
rename to Source/core/html/HTMLContentElement.cpp
index 69faf7f3d1a30980756b326c7b92a4e1349b5f0a..c6495abf9e25bc8c1727f5393e979cd4a479eb62 100644
--- a/Source/core/html/shadow/HTMLContentElement.cpp
+++ b/Source/core/html/HTMLContentElement.cpp
@@ -25,12 +25,12 @@
*/
#include "config.h"
-#include "core/html/shadow/HTMLContentElement.h"
+#include "core/html/HTMLContentElement.h"
#include "HTMLNames.h"
-#include "core/css/parser/BisonCSSParser.h"
#include "core/css/SelectorChecker.h"
#include "core/css/SiblingTraversalStrategies.h"
+#include "core/css/parser/BisonCSSParser.h"
#include "core/dom/QualifiedName.h"
#include "core/dom/shadow/ElementShadow.h"
#include "core/dom/shadow/ShadowRoot.h"
@@ -77,8 +77,9 @@ void HTMLContentElement::parseAttribute(const QualifiedName& name, const AtomicS
root->owner()->willAffectSelector();
m_shouldParseSelect = true;
m_select = value;
- } else
+ } else {
InsertionPoint::parseAttribute(name, value);
+ }
}
bool HTMLContentElement::validateSelect() const
« no previous file with comments | « Source/core/html/HTMLContentElement.h ('k') | Source/core/html/HTMLContentElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698