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

Unified Diff: sky/engine/core/script/dom_dart_state.cc

Issue 1143133007: Revert "Add a Color class to dart:sky." (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/engine/core/script/dom_dart_state.h ('k') | sky/examples/raw/painting.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/script/dom_dart_state.cc
diff --git a/sky/engine/core/script/dom_dart_state.cc b/sky/engine/core/script/dom_dart_state.cc
index 86bebaf806e79f7450980b4679bcca6178928570..121bde044154f4a0c120b489870fd0bc554ca78c 100644
--- a/sky/engine/core/script/dom_dart_state.cc
+++ b/sky/engine/core/script/dom_dart_state.cc
@@ -7,7 +7,6 @@
#include "sky/engine/core/dom/Document.h"
#include "sky/engine/core/script/dart_loader.h"
-#include "sky/engine/tonic/dart_builtin.h"
namespace blink {
@@ -23,9 +22,6 @@ void DOMDartState::DidSetIsolate() {
x_handle_.Set(this, Dart_NewStringFromCString("x"));
y_handle_.Set(this, Dart_NewStringFromCString("y"));
value_handle_.Set(this, Dart_NewStringFromCString("_value"));
-
- Dart_Handle sky_library = DartBuiltin::LookupLibrary("dart:sky");
- color_class_.Set(this, Dart_GetType(sky_library, ToDart("Color"), 0, 0));
}
DOMDartState* DOMDartState::Current() {
« no previous file with comments | « sky/engine/core/script/dom_dart_state.h ('k') | sky/examples/raw/painting.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698