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

Unified Diff: content/renderer/skia_benchmarking_extension.cc

Issue 919153003: Update SkiaBenchmarking for upcoming Skia changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/skia_benchmarking_extension.cc
diff --git a/content/renderer/skia_benchmarking_extension.cc b/content/renderer/skia_benchmarking_extension.cc
index dccf88dc4099bae584c7944d4689a801feb3ed21..20015a5529a6c6c92cb03d8ed171cc04a32b2605 100644
--- a/content/renderer/skia_benchmarking_extension.cc
+++ b/content/renderer/skia_benchmarking_extension.cc
@@ -219,7 +219,7 @@ void SkiaBenchmarking::GetOps(gin::Arguments* args) {
v8::Handle<v8::Array> result = v8::Array::New(isolate, canvas.getSize());
for (int i = 0; i < canvas.getSize(); ++i) {
- DrawType cmd_type = canvas.getDrawCommandAt(i)->getType();
+ SkDrawCommand::OpType cmd_type = canvas.getDrawCommandAt(i)->getType();
v8::Handle<v8::Object> cmd = v8::Object::New(isolate);
cmd->Set(v8::String::NewFromUtf8(isolate, "cmd_type"),
v8::Integer::New(isolate, cmd_type));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698