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

Unified Diff: base/pickle.cc

Issue 10818011: Allow floating point rectangles to be sent via IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: base/pickle.cc
diff --git a/base/pickle.cc b/base/pickle.cc
index 0e44131f69ba316c4c7a16b7c2c2a2a3f6f65afa..00c6ef06f36aadbe10a9c5de7b3dbc7d6730fa57 100644
--- a/base/pickle.cc
+++ b/base/pickle.cc
@@ -90,6 +90,10 @@ bool PickleIterator::ReadUInt64(uint64* result) {
return ReadBuiltinType(result);
}
+bool PickleIterator::ReadFloat(float* result) {
+ return ReadBuiltinType(result);
+}
+
bool PickleIterator::ReadString(std::string* result) {
int len;
if (!ReadInt(&len))

Powered by Google App Engine
This is Rietveld 408576698