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

Unified Diff: android_webview/common/renderer_picture_map.cc

Issue 16796002: Delete the browser-compositor webview render mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « android_webview/common/renderer_picture_map.h ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/common/renderer_picture_map.cc
diff --git a/android_webview/common/renderer_picture_map.cc b/android_webview/common/renderer_picture_map.cc
deleted file mode 100644
index c27cc5665644b92a78b55c1123ced6ed4349b188..0000000000000000000000000000000000000000
--- a/android_webview/common/renderer_picture_map.cc
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "android_webview/common/renderer_picture_map.h"
-
-#include "base/logging.h"
-
-using base::AutoLock;
-
-namespace android_webview {
-
-static RendererPictureMap* g_renderer_picture_map = NULL;
-
-// static
-void RendererPictureMap::CreateInstance() {
- if (!g_renderer_picture_map)
- g_renderer_picture_map = new RendererPictureMap();
-}
-
-// static
-RendererPictureMap* RendererPictureMap::GetInstance() {
- DCHECK(g_renderer_picture_map);
- return g_renderer_picture_map;
-}
-
-RendererPictureMap::RendererPictureMap() {
-}
-
-RendererPictureMap::~RendererPictureMap() {
-}
-
-skia::RefPtr<SkPicture> RendererPictureMap::GetRendererPicture(int id) {
- AutoLock lock(lock_);
- return picture_map_[id];
-}
-
-void RendererPictureMap::SetRendererPicture(int id,
- skia::RefPtr<SkPicture> picture) {
- AutoLock lock(lock_);
- picture_map_[id] = picture;
-}
-
-void RendererPictureMap::ClearRendererPicture(int id) {
- AutoLock lock(lock_);
- picture_map_.erase(id);
-}
-
-} // android_webview
« no previous file with comments | « android_webview/common/renderer_picture_map.h ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698