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

Unified Diff: ui/ozone/public/overlay_candidates_ozone.h

Issue 1269503007: Unify graphics buffer format & usage enums for GpuMemoryBuffer & SurfaceFactoryOzone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix our IPC_MESSAGE_EXPORT affecting printing_messages.h Created 5 years, 5 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/ozone/public/overlay_candidates_ozone.h
diff --git a/ui/ozone/public/overlay_candidates_ozone.h b/ui/ozone/public/overlay_candidates_ozone.h
index e71dc6f22b39c7cd8ed3092cd34b2e6ee4f6bb7e..23db7916d4d5cc9e52b0cfcd4561a9a6d124bc22 100644
--- a/ui/ozone/public/overlay_candidates_ozone.h
+++ b/ui/ozone/public/overlay_candidates_ozone.h
@@ -26,7 +26,7 @@ class OZONE_BASE_EXPORT OverlayCandidatesOzone {
// Transformation to apply to layer during composition.
gfx::OverlayTransform transform = gfx::OVERLAY_TRANSFORM_NONE;
// Format of the buffer to composite.
- SurfaceFactoryOzone::BufferFormat format = SurfaceFactoryOzone::UNKNOWN;
+ gfx::BufferFormat format = gfx::BufferFormat::BGRA_8888;
// Size of the buffer, in pixels.
gfx::Size buffer_size;
// Rect on the display to position the overlay to. Input rectangle may

Powered by Google App Engine
This is Rietveld 408576698