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

Unified Diff: skia/ext/benchmarking_canvas.cc

Issue 1255073002: clang/win: Fix most -Wunused-function warnings in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 5 years, 5 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
Index: skia/ext/benchmarking_canvas.cc
diff --git a/skia/ext/benchmarking_canvas.cc b/skia/ext/benchmarking_canvas.cc
index 924ce28020376f9e80828f59bb9094d7a393ab76..e7fe9024583f44a02dd5937266e83ae33777beb6 100644
--- a/skia/ext/benchmarking_canvas.cc
+++ b/skia/ext/benchmarking_canvas.cc
@@ -307,14 +307,6 @@ scoped_ptr<base::Value> AsValue(const SkRegion& region) {
}
WARN_UNUSED_RESULT
-scoped_ptr<base::Value> AsValue(const SkPicture& picture) {
- scoped_ptr<base::DictionaryValue> val(new base::DictionaryValue());
- val->Set("cull-rect", AsValue(picture.cullRect()));
-
- return val.Pass();
-}
-
-WARN_UNUSED_RESULT
scoped_ptr<base::Value> AsValue(const SkBitmap& bitmap) {
scoped_ptr<base::DictionaryValue> val(new base::DictionaryValue());
val->Set("size", AsValue(SkSize::Make(bitmap.width(), bitmap.height())));

Powered by Google App Engine
This is Rietveld 408576698