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

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: compile (racing with incoming CLs) Created 8 years, 9 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
« no previous file with comments | « webkit/glue/npruntime_util.cc ('k') | webkit/glue/webcursor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webcursor.h
diff --git a/webkit/glue/webcursor.h b/webkit/glue/webcursor.h
index 0461a3ca7add3a122824ee1cd7562c52f054458b..0dfddcf7e413542c20f3f7629a3ae59324ebd0da 100644
--- a/webkit/glue/webcursor.h
+++ b/webkit/glue/webcursor.h
@@ -30,6 +30,7 @@ struct Cursor;
#endif
class Pickle;
+class PickleIterator;
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(PickleIterator* 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(PickleIterator* iter);
// Returns true if the platform data in the current cursor object
// matches that of the cursor passed in.
« no previous file with comments | « 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