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

Unified Diff: webkit/glue/webcursor.h

Issue 9447084: Refactor Pickle Read methods to use higher performance PickleIterator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jar feedback Created 8 years, 10 months 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/webcursor.h
diff --git a/webkit/glue/webcursor.h b/webkit/glue/webcursor.h
index 0461a3ca7add3a122824ee1cd7562c52f054458b..e965091943228d264519de8dcb7f7eeb86f1cff7 100644
--- a/webkit/glue/webcursor.h
+++ b/webkit/glue/webcursor.h
@@ -30,6 +30,7 @@ struct Cursor;
#endif
class Pickle;
+class PickleReader;
namespace WebKit {
class WebImage;
@@ -55,7 +56,7 @@ class WEBKIT_GLUE_EXPORT WebCursor {
void GetCursorInfo(WebKit::WebCursorInfo* cursor_info) const;
// Serialization / De-serialization
- bool Deserialize(const Pickle* pickle, void** iter);
+ bool Deserialize(PickleReader* iter);
bool Serialize(Pickle* pickle) const;
// Returns true if GetCustomCursor should be used to allocate a platform
@@ -114,7 +115,7 @@ class WEBKIT_GLUE_EXPORT WebCursor {
// Platform specific Serialization / De-serialization
bool SerializePlatformData(Pickle* pickle) const;
- bool DeserializePlatformData(const Pickle* pickle, void** iter);
+ bool DeserializePlatformData(PickleReader* iter);
// Returns true if the platform data in the current cursor object
// matches that of the cursor passed in.
« base/pickle.cc ('K') | « webkit/glue/npruntime_util.cc ('k') | webkit/glue/webcursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698