| Index: trunk/src/mojo/services/public/cpp/view_manager/lib/view.cc
|
| ===================================================================
|
| --- trunk/src/mojo/services/public/cpp/view_manager/lib/view.cc (revision 274327)
|
| +++ trunk/src/mojo/services/public/cpp/view_manager/lib/view.cc (working copy)
|
| @@ -7,7 +7,6 @@
|
| #include "mojo/services/public/cpp/view_manager/lib/view_manager_private.h"
|
| #include "mojo/services/public/cpp/view_manager/lib/view_private.h"
|
| #include "mojo/services/public/cpp/view_manager/view_observer.h"
|
| -#include "ui/gfx/canvas.h"
|
|
|
| namespace mojo {
|
| namespace view_manager {
|
| @@ -62,12 +61,6 @@
|
| ViewManagerPrivate(manager_).synchronizer()->SetViewContents(id_, contents);
|
| }
|
|
|
| -void View::SetColor(SkColor color) {
|
| - gfx::Canvas canvas(node_->bounds().size(), 1.0f, true);
|
| - canvas.DrawColor(color);
|
| - SetContents(skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(true));
|
| -}
|
| -
|
| View::View(ViewManager* manager)
|
| : id_(ViewManagerPrivate(manager).synchronizer()->CreateView()),
|
| node_(NULL),
|
|
|