forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cc: Make OutputSurface::BindToClient pure virtual and not return bool
The function does not need to return bool and we DCHECK it is always true already, since the ContextProvider given to the OutputSurface can be initialized before even creating the OutputSurface as it is not used across threads anymore. Since it is not cross-thread the base class code in BindToClient can move to its constructor and the method can become pure virtual. Drops the DidLoseOutputSurface from the OutputSurfaceClient interface so that every implementation doesn't need to bind it - esp since only OutputSurfaces with a context can even get lost. Instead have Display listen to the context for loss. And some random code cleanups in AndroidOutputSurface since it was working around multiple threads that don't exist. R=enne@chromium.org, piman@chromium.org BUG=606056 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2443003004 Cr-Commit-Position: refs/heads/master@{#427511}
- Loading branch information
Showing
46 changed files
with
297 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.