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

Unified Diff: sky/engine/web/WebElement.cpp

Issue 946083003: Rename Sky's custom2 to custom (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/engine/core/dom/custom2/new_custom_element_registry.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebElement.cpp
diff --git a/sky/engine/web/WebElement.cpp b/sky/engine/web/WebElement.cpp
index 5bae7092588c74840949697afff6b8e766d5666e..9b6d0968031aec9f4bfa04f478dfa3514ee12933 100644
--- a/sky/engine/web/WebElement.cpp
+++ b/sky/engine/web/WebElement.cpp
@@ -33,7 +33,7 @@
#include "sky/engine/bindings/exception_state.h"
#include "sky/engine/core/dom/Element.h"
-#include "sky/engine/core/dom/custom2/new_custom_element_callback_scope.h"
+#include "sky/engine/core/dom/custom/custom_element_callback_scope.h"
#include "sky/engine/core/dom/shadow/ShadowRoot.h"
#include "sky/engine/core/rendering/RenderBoxModelObject.h"
#include "sky/engine/core/rendering/RenderObject.h"
@@ -57,7 +57,7 @@ void WebElement::removeAttribute(const WebString& attrName)
{
// TODO: Custom element callbacks need to be called on WebKit API methods that
// mutate the DOM in any way.
- NewCustomElementCallbackScope deliveryScope;
+ CustomElementCallbackScope deliveryScope;
unwrap<Element>()->removeAttribute(attrName);
}
@@ -70,7 +70,7 @@ bool WebElement::setAttribute(const WebString& attrName, const WebString& attrVa
{
// TODO: Custom element callbacks need to be called on WebKit API methods that
// mutate the DOM in any way.
- NewCustomElementCallbackScope deliveryScope;
+ CustomElementCallbackScope deliveryScope;
TrackExceptionState exceptionState;
unwrap<Element>()->setAttribute(attrName, attrValue, exceptionState);
return !exceptionState.had_exception();
« no previous file with comments | « sky/engine/core/dom/custom2/new_custom_element_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698