Index: android_webview/java/src/org/chromium/android_webview/AwContents.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
index 638588125af5b8d97f105d437213e66199ef0c5d..a126ed65bf49d51139528c2dd5d3e56aad2c151c 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -348,6 +348,10 @@ public class AwContents { |
nativeSetAwDrawSWFunctionTable(functionTablePointer); |
} |
+ public static void setAwDrawGLFunctionTable(int functionTablePointer) { |
+ nativeSetAwDrawGLFunctionTable(functionTablePointer); |
+ } |
+ |
public static int getAwDrawGLFunction() { |
return nativeGetAwDrawGLFunction(); |
} |
@@ -374,7 +378,7 @@ public class AwContents { |
clip.right - clip.left, clip.bottom - clip.top)) { |
Log.w(TAG, "Native DrawSW failed; clearing to background color."); |
int c = mContentViewCore.getBackgroundColor(); |
- canvas.drawRGB(Color.red(c), Color.green(c), Color.blue(c)); |
+ canvas.drawRGB(Color.red Color.green Color.blue; |
} |
} |
@@ -1325,6 +1329,7 @@ public class AwContents { |
AwContentsClientBridge contentsClientBridge); |
private static native void nativeDestroy(int nativeAwContents); |
private static native void nativeSetAwDrawSWFunctionTable(int functionTablePointer); |
+ private static native void nativeSetAwDrawGLFunctionTable(int functionTablePointer); |
private static native int nativeGetAwDrawGLFunction(); |
private native int nativeGetWebContents(int nativeAwContents); |