Index: ui/android/java/src/org/chromium/ui/resources/Resource.java |
diff --git a/ui/android/java/src/org/chromium/ui/resources/Resource.java b/ui/android/java/src/org/chromium/ui/resources/Resource.java |
index 5884a88b04693d7208afbfdbf80ee8891a9ff282..b0430d329abe4996d12671c2f2c3b6bdd06b97b2 100644 |
--- a/ui/android/java/src/org/chromium/ui/resources/Resource.java |
+++ b/ui/android/java/src/org/chromium/ui/resources/Resource.java |
@@ -24,15 +24,9 @@ public interface Resource { |
Rect getBitmapSize(); |
/** |
- * @return The padded content area of this resource. For 9-patches this will represent the |
- * valid content of the 9-patch. It can mean other things for other Resources though. |
+ * Creates the native representation of this Resource. Note that the ownership is passed to the |
+ * caller. |
+ * @return The pointer to the native Resource. |
*/ |
- Rect getPadding(); |
- |
- /** |
- * @return The aperture of this resource. For 9-patches this will represent the area of the |
- * {@link Bitmap} that should not be stretched. It can mean other things for other |
- * Resources though. |
- */ |
- Rect getAperture(); |
+ long createNativeResource(); |
} |