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

Unified Diff: ui/aura/bench/bench_main.cc

Issue 859423002: Explicitly specify the ui::Compositor to DelegatedFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use compositor Created 5 years, 11 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 | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/compositor/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/bench/bench_main.cc
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
index 0ab5a736447c2d7f6cf90f9be581989b61492cdb..e2cb23e7785f0ac1d3ba2bf74889296f0b59e60d 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -94,6 +94,7 @@ class BenchCompositorObserver : public ui::CompositorObserver {
frames_(0),
max_frames_(max_frames) {
}
+ virtual ~BenchCompositorObserver() {}
void OnCompositingDidCommit(ui::Compositor* compositor) override {}
@@ -123,6 +124,8 @@ class BenchCompositorObserver : public ui::CompositorObserver {
void OnCompositingLockStateChanged(Compositor* compositor) override {}
+ void OnCompositingShuttingDown(ui::Compositor* compositor) override {}
+
virtual void Draw() {}
int frames() const { return frames_; }
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/compositor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698