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

Side by Side Diff: ui/gl/gl_state_restorer.cc

Issue 11275120: Virtual GL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gfx/android/gfx_jni_registrar.h" 5 #include "ui/gl/gl_state_restorer.h"
6 6
7 namespace gfx { 7 namespace gfx {
8 8
9 void RegisterBitmapAndroid(JNIEnv* env); 9 GLStateRestorer::GLStateRestorer() {
10 }
10 11
11 bool RegisterJni(JNIEnv* env) { 12 GLStateRestorer::~GLStateRestorer() {
12 RegisterBitmapAndroid(env);
13 return true;
14 } 13 }
15 14
16 } // namespace gfx 15 } // namespace gfx
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698