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

Unified Diff: sky/shell/ui/internals.cc

Issue 1221163002: Remove two unused functions from dart:sky.internals (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/bindings/sky_internals.dart ('k') | sky/viewer/internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ui/internals.cc
diff --git a/sky/shell/ui/internals.cc b/sky/shell/ui/internals.cc
index 96950997f0b91596431986140cc2c15f2c207160..039c323a9012e835cb92f795463f3ff21ce0f286 100644
--- a/sky/shell/ui/internals.cc
+++ b/sky/shell/ui/internals.cc
@@ -26,17 +26,9 @@ Internals* GetInternals() {
return static_cast<Internals*>(state->GetUserData(&kInternalsKey));
}
-void ContentAsText(Dart_NativeArguments args) {
- Dart_SetReturnValue(args, Dart_EmptyString());
-}
-
void NotifyTestComplete(Dart_NativeArguments args) {
}
-void RenderTreeAsText(Dart_NativeArguments args) {
- Dart_SetReturnValue(args, Dart_EmptyString());
-}
-
void TakeShellProxyHandle(Dart_NativeArguments args) {
Dart_SetIntegerReturnValue(args, 0);
}
@@ -55,9 +47,7 @@ void TakeServiceRegistry(Dart_NativeArguments args) {
}
const DartBuiltin::Natives kNativeFunctions[] = {
- {"contentAsText", ContentAsText, 0},
{"notifyTestComplete", NotifyTestComplete, 1},
- {"renderTreeAsText", RenderTreeAsText, 0},
{"takeShellProxyHandle", TakeShellProxyHandle, 0},
{"takeServicesProvidedByEmbedder", TakeServicesProvidedByEmbedder, 0},
{"takeServicesProvidedToEmbedder", TakeServicesProvidedToEmbedder, 0},
« no previous file with comments | « sky/engine/bindings/sky_internals.dart ('k') | sky/viewer/internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698