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

Unified Diff: Source/bindings/common/AbstractScriptValue.h

Issue 289083003: [dartium] Dart half of ScriptValue refactoring. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1916
Patch Set: Created 6 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 | « no previous file | Source/bindings/common/ScriptValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/common/AbstractScriptValue.h
diff --git a/Source/bindings/common/AbstractScriptValue.h b/Source/bindings/common/AbstractScriptValue.h
index 325246769ded724a781a18c5894b11aa85b1c1b5..5315614ee037255856fd9dae0f2677fb76033d0e 100644
--- a/Source/bindings/common/AbstractScriptValue.h
+++ b/Source/bindings/common/AbstractScriptValue.h
@@ -46,7 +46,8 @@ public:
AbstractScriptValue() {}
virtual ~AbstractScriptValue() {}
- virtual bool isV8() const = 0;
+ virtual bool isV8() const { return false; };
+ virtual bool isDart() const { return false; };
virtual bool equals(AbstractScriptValue* other) const = 0;
virtual void clear() = 0;
« no previous file with comments | « no previous file | Source/bindings/common/ScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698