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

Unified Diff: content/child/shared_memory_data_consumer_handle.cc

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Initialise encoded_body_length for sync XHR to data: URLs Created 4 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: content/child/shared_memory_data_consumer_handle.cc
diff --git a/content/child/shared_memory_data_consumer_handle.cc b/content/child/shared_memory_data_consumer_handle.cc
index 3ceec35ddc53394abf71928203dbcfc79ef10169..b45de6491574083211816eb6855cbe807c18565a 100644
--- a/content/child/shared_memory_data_consumer_handle.cc
+++ b/content/child/shared_memory_data_consumer_handle.cc
@@ -37,7 +37,12 @@ class DelegateThreadSafeReceivedData final
const char* payload() const override { return data_->payload(); }
int length() const override { return data_->length(); }
- int encoded_length() const override { return data_->encoded_length(); }
+ int encoded_data_length() const override {
+ return data_->encoded_data_length();
+ }
+ int encoded_body_length() const override {
+ return data_->encoded_body_length();
+ }
private:
std::unique_ptr<RequestPeer::ReceivedData> data_;
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/child/shared_memory_data_consumer_handle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698