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

Unified Diff: cc/layers/layer_impl.cc

Issue 474783002: HUD: Show first paint invalidation in red (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compilefix Created 6 years, 3 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 | « cc/layers/layer_impl.h ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 29bdfe778fdf522fc9a3a8f97d74ef4adb90b71c..2b187a1e3ebef896c42f3ef2a946d5f7be1305bf 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -4,6 +4,8 @@
#include "cc/layers/layer_impl.h"
+#include <vector>
+
#include "base/debug/trace_event.h"
#include "base/debug/trace_event_argument.h"
#include "base/json/json_reader.h"
@@ -166,8 +168,7 @@ void LayerImpl::SetScrollParent(LayerImpl* parent) {
SetNeedsPushProperties();
}
-void LayerImpl::SetDebugInfo(
- scoped_refptr<base::debug::ConvertableToTraceFormat> other) {
+void LayerImpl::SetDebugInfo(scoped_refptr<LayerDebugInfo> other) {
debug_info_ = other;
SetNeedsPushProperties();
}
@@ -1555,4 +1556,8 @@ void LayerImpl::NotifyAnimationFinished(
layer_tree_impl_->InputScrollAnimationFinished();
}
+bool LayerImpl::GetDetailedPaintRects(std::vector<DebugRect>*) {
+ return false;
+}
+
} // namespace cc
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698