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

Unified Diff: content/common/gpu/null_transport_surface.cc

Issue 1166463004: Revert of Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/common/gpu/null_transport_surface.h ('k') | gpu/command_buffer/service/gl_surface_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/null_transport_surface.cc
diff --git a/content/common/gpu/null_transport_surface.cc b/content/common/gpu/null_transport_surface.cc
index 33521a06d4c4965468afd69bce6aace448e28606..ebcea853a675f95a1d5a736e5754eb21d334da86 100644
--- a/content/common/gpu/null_transport_surface.cc
+++ b/content/common/gpu/null_transport_surface.cc
@@ -49,17 +49,15 @@
// Do not destroy |surface_| since we use the shared offscreen surface.
}
-gfx::SwapResult NullTransportSurface::SwapBuffers() {
+bool NullTransportSurface::SwapBuffers() {
NOTIMPLEMENTED();
- return gfx::SwapResult::SWAP_FAILED;
+ return false;
}
-gfx::SwapResult NullTransportSurface::PostSubBuffer(int x,
- int y,
- int width,
- int height) {
+bool NullTransportSurface::PostSubBuffer(
+ int x, int y, int width, int height) {
NOTIMPLEMENTED();
- return gfx::SwapResult::SWAP_FAILED;
+ return false;
}
void NullTransportSurface::SendVSyncUpdateIfAvailable() {
« no previous file with comments | « content/common/gpu/null_transport_surface.h ('k') | gpu/command_buffer/service/gl_surface_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698