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

Unified Diff: Source/bindings/v8/custom/V8NodeCustom.cpp

Issue 14990005: Remove ENTITY_REFERENCE_NODE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove some empty lines Created 7 years, 7 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/bindings/scripts/CodeGeneratorV8.pm ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8NodeCustom.cpp
diff --git a/Source/bindings/v8/custom/V8NodeCustom.cpp b/Source/bindings/v8/custom/V8NodeCustom.cpp
index def0c85eca3444dc7fe28f651f2a092e65783fd8..ef83dd804a51f6831a2499f27acd48311328860f 100644
--- a/Source/bindings/v8/custom/V8NodeCustom.cpp
+++ b/Source/bindings/v8/custom/V8NodeCustom.cpp
@@ -39,7 +39,6 @@
#include "V8DocumentType.h"
#include "V8Element.h"
#include "V8Entity.h"
-#include "V8EntityReference.h"
#include "V8HTMLElement.h"
#include "V8Node.h"
#include "V8Notation.h"
@@ -139,8 +138,6 @@ v8::Handle<v8::Object> wrap(Node* impl, v8::Handle<v8::Object> creationContext,
return wrap(toText(impl), creationContext, isolate);
case Node::CDATA_SECTION_NODE:
return wrap(static_cast<CDATASection*>(impl), creationContext, isolate);
- case Node::ENTITY_REFERENCE_NODE:
- return wrap(static_cast<EntityReference*>(impl), creationContext, isolate);
case Node::ENTITY_NODE:
return wrap(static_cast<Entity*>(impl), creationContext, isolate);
case Node::PROCESSING_INSTRUCTION_NODE:
@@ -156,7 +153,7 @@ v8::Handle<v8::Object> wrap(Node* impl, v8::Handle<v8::Object> creationContext,
case Node::NOTATION_NODE:
return wrap(static_cast<Notation*>(impl), creationContext, isolate);
default:
- break; // XPATH_NAMESPACE_NODE
+ break; // ENTITY_REFERENCE_NODE or XPATH_NAMESPACE_NODE
}
return V8Node::createWrapper(impl, creationContext, isolate);
}
« no previous file with comments | « Source/bindings/scripts/CodeGeneratorV8.pm ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698