Index: android_webview/common/renderer_picture_map.h |
diff --git a/android_webview/common/renderer_picture_map.h b/android_webview/common/renderer_picture_map.h |
deleted file mode 100644 |
index 5e0229d23abd69d0397af32aa94371574b3e822f..0000000000000000000000000000000000000000 |
--- a/android_webview/common/renderer_picture_map.h |
+++ /dev/null |
@@ -1,38 +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. |
- |
-#ifndef ANDROID_WEBVIEW_COMMON_RENDERER_PICTURE_MAP_H_ |
-#define ANDROID_WEBVIEW_COMMON_RENDERER_PICTURE_MAP_H_ |
- |
-#include <map> |
- |
-#include "base/synchronization/lock.h" |
-#include "skia/ext/refptr.h" |
-#include "third_party/skia/include/core/SkPicture.h" |
- |
-namespace android_webview { |
- |
-// Stores pictures received from diferent renderers and associates them by |
-// renderer id. Will only work in single process mode. |
-class RendererPictureMap { |
- public: |
- static void CreateInstance(); |
- static RendererPictureMap* GetInstance(); |
- |
- skia::RefPtr<SkPicture> GetRendererPicture(int id); |
- void SetRendererPicture(int id, skia::RefPtr<SkPicture> picture); |
- void ClearRendererPicture(int id); |
- |
- private: |
- RendererPictureMap(); |
- ~RendererPictureMap(); |
- |
- typedef std::map<int, skia::RefPtr<SkPicture> > PictureMap; |
- PictureMap picture_map_; |
- base::Lock lock_; |
-}; |
- |
-} // android_webview |
- |
-#endif // ANDROID_WEBVIEW_COMMON_RENDERER_PICTURE_MAP_H_ |