| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| index cba341c2f7120924fd5496f0a619dc72b6136255..b7a012fe685522629a593d9951acfc4b0cf4e57c 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| @@ -112,16 +112,6 @@ public class ContentViewRenderView extends FrameLayout {
|
| return mSurfaceView;
|
| }
|
|
|
| - /**
|
| - * Should be called when the ContentViewRenderView is not needed anymore so its associated
|
| - * native resource can be freed.
|
| - */
|
| - public void destroy() {
|
| - mSurfaceView.getHolder().removeCallback(mSurfaceCallback);
|
| - nativeDestroy(mNativeContentViewRenderView);
|
| - mNativeContentViewRenderView = 0;
|
| - }
|
| -
|
| public void setCurrentContentViewCore(ContentViewCore contentViewCore) {
|
| assert mNativeContentViewRenderView != 0;
|
| mContentViewCore = contentViewCore;
|
| @@ -136,15 +126,6 @@ public class ContentViewRenderView extends FrameLayout {
|
| }
|
|
|
| /**
|
| - * Trigger a redraw of the compositor. This is only needed if the UI changes something that
|
| - * does not trigger a redraw itself by updating the layer tree.
|
| - */
|
| - public void setNeedsComposite() {
|
| - if (mNativeContentViewRenderView == 0) return;
|
| - nativeSetNeedsComposite(mNativeContentViewRenderView);
|
| - }
|
| -
|
| - /**
|
| * This method should be subclassed to provide actions to be performed once the view is ready to
|
| * render.
|
| */
|
| @@ -189,16 +170,7 @@ public class ContentViewRenderView extends FrameLayout {
|
| }
|
| }
|
|
|
| - /**
|
| - * @return Native pointer for the UI resource provider taken from the compositor.
|
| - */
|
| - public long getUIResourceProvider() {
|
| - return nativeGetUIResourceProvider(mNativeContentViewRenderView);
|
| - }
|
| -
|
| private native long nativeInit(long rootWindowNativePointer);
|
| - private native long nativeGetUIResourceProvider(long nativeContentViewRenderView);
|
| - private native void nativeDestroy(long nativeContentViewRenderView);
|
| private native void nativeSetCurrentContentViewCore(long nativeContentViewRenderView,
|
| long nativeContentViewCore);
|
| private native void nativeSurfaceCreated(long nativeContentViewRenderView);
|
| @@ -207,5 +179,4 @@ public class ContentViewRenderView extends FrameLayout {
|
| int format, int width, int height, Surface surface);
|
| private native void nativeSetOverlayVideoMode(long nativeContentViewRenderView,
|
| boolean enabled);
|
| - private native void nativeSetNeedsComposite(long nativeContentViewRenderView);
|
| }
|
|
|