DescriptionUse base::ScopedTypeRef for CGL types.
Use gfx::ScopedCGLSetCurrentContext for setting the current
context in the browser process. When calling CGLSetCurrentContext,
the pre-existing code inconsitently did either of restoring the
context, setting the context to NULL, or leaving the context set.
This makes the behavior consistent. It also makes error checking
pervasive.
BUG=245900
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250399
Patch Set 1 #
Total comments: 1
Patch Set 2 : Rebase #
Total comments: 1
Patch Set 3 : Rebase on updated scope patch #Patch Set 4 : Rebase #Patch Set 5 : Rebase #Patch Set 6 : Rebase again #
Messages
Total messages: 8 (0 generated)
|