diff options
author | Ben Murdoch <benm@google.com> | 2011-08-17 02:28:37 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-17 02:28:37 -0700 |
commit | 2d9e4c5514130be5468050cdf7b1ad8c5a57ac39 (patch) | |
tree | 2368bb5a21956acb815e5b5fafb91eaeb8f1ba5c /Source/WebKit/android/RenderSkinRadio.h | |
parent | 41b52b2ab048f02c6ec7732f1e1a3430d8272da9 (diff) | |
parent | ce03c1c1203621e552d41a8b3831837636f364a9 (diff) | |
download | external_webkit-2d9e4c5514130be5468050cdf7b1ad8c5a57ac39.zip external_webkit-2d9e4c5514130be5468050cdf7b1ad8c5a57ac39.tar.gz external_webkit-2d9e4c5514130be5468050cdf7b1ad8c5a57ac39.tar.bz2 |
Merge "Lazily decode assets for form controls."
Diffstat (limited to 'Source/WebKit/android/RenderSkinRadio.h')
-rw-r--r-- | Source/WebKit/android/RenderSkinRadio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit/android/RenderSkinRadio.h b/Source/WebKit/android/RenderSkinRadio.h index f77e1be..34101cf 100644 --- a/Source/WebKit/android/RenderSkinRadio.h +++ b/Source/WebKit/android/RenderSkinRadio.h @@ -44,10 +44,10 @@ class IntRect; class RenderSkinRadio { public: - /** - * Initialize the class before use. Uses the AssetManager to initialize any bitmaps the class may use. - */ - static void Init(android::AssetManager*, String drawableDirectory); + static void SetDrawableDirectory(String drawableDirectory); + + // Perform lazy decoding the first time this a radio/checkbox is needed. + static void Decode(); /** * Draw the element to the canvas at the specified size and location. |