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

Unified Diff: ui/display/chromeos/test/test_native_display_delegate.cc

Issue 2324163002: Add FakeDisplayDelegate for off device usage. (Closed)
Patch Set: Rebase and expand. Created 4 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
Index: ui/display/chromeos/test/test_native_display_delegate.cc
diff --git a/ui/display/chromeos/test/test_native_display_delegate.cc b/ui/display/chromeos/test/test_native_display_delegate.cc
index 2b011f003e403ff6722294f131cf2ab9d53f9d1b..585d6bbf7f66b3f862eece2b8898e47c7fbd0312 100644
--- a/ui/display/chromeos/test/test_native_display_delegate.cc
+++ b/ui/display/chromeos/test/test_native_display_delegate.cc
@@ -106,8 +106,8 @@ void TestNativeDisplayDelegate::Configure(const DisplaySnapshot& output,
void TestNativeDisplayDelegate::CreateFrameBuffer(const gfx::Size& size) {
log_->AppendAction(
- GetFramebufferAction(size, outputs_.size() >= 1 ? outputs_[0] : NULL,
- outputs_.size() >= 2 ? outputs_[1] : NULL));
+ GetFramebufferAction(size, outputs_.size() >= 1 ? outputs_[0] : nullptr,
+ outputs_.size() >= 2 ? outputs_[1] : nullptr));
}
void TestNativeDisplayDelegate::GetHDCPState(
@@ -153,5 +153,10 @@ void TestNativeDisplayDelegate::RemoveObserver(
NativeDisplayObserver* observer) {
}
+display::VirtualDisplayController*
+TestNativeDisplayDelegate::GetVirtualDisplayController() {
+ return nullptr;
+}
+
} // namespace test
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698