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

Unified Diff: cc/picture_layer_impl.cc

Issue 11265046: cc: Add some impl-side painting stub classes and APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: cc/picture_layer_impl.cc
diff --git a/cc/renderer.cc b/cc/picture_layer_impl.cc
similarity index 57%
copy from cc/renderer.cc
copy to cc/picture_layer_impl.cc
index 2dac708d8fd170d3ad52436ae591a895e193656a..0da0d204339553cae09819aec57a508dc31ed294 100644
--- a/cc/renderer.cc
+++ b/cc/picture_layer_impl.cc
@@ -4,18 +4,15 @@
#include "config.h"
-#include "cc/renderer.h"
+#include "cc/picture_layer_impl.h"
namespace cc {
-bool Renderer::haveCachedResourcesForRenderPassId(RenderPass::Id) const
-{
- return false;
+PictureLayerImpl::PictureLayerImpl(int id) :
+ LayerImpl(id) {
}
-bool Renderer::isContextLost()
-{
- return false;
+PictureLayerImpl::~PictureLayerImpl() {
}
} // namespace cc
« cc/picture.h ('K') | « cc/picture_layer_impl.h ('k') | cc/picture_record.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698