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

Unified Diff: ppapi/proxy/url_response_info_resource.cc

Issue 15018015: Pepper: Remove PPB_URLResponseInfo_API::GetData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 | « ppapi/proxy/url_response_info_resource.h ('k') | ppapi/thunk/ppb_url_response_info_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/url_response_info_resource.cc
diff --git a/ppapi/proxy/url_response_info_resource.cc b/ppapi/proxy/url_response_info_resource.cc
index 91c999092df6bbd850a54afb9cb0d6821b37cc71..85dae9a1aef485c989fa39d30a674bd805ff8515 100644
--- a/ppapi/proxy/url_response_info_resource.cc
+++ b/ppapi/proxy/url_response_info_resource.cc
@@ -69,14 +69,5 @@ PP_Resource URLResponseInfoResource::GetBodyAsFileRef() {
return body_as_file_ref_.get();
}
-URLResponseInfoData URLResponseInfoResource::GetData() {
- // One ref is passed to the caller if there's a file ref.
- if (body_as_file_ref_.get()) {
- PpapiGlobals::Get()->GetResourceTracker()->AddRefResource(
- body_as_file_ref_.get());
- }
- return data_;
-}
-
} // namespace proxy
} // namespace ppapi
« no previous file with comments | « ppapi/proxy/url_response_info_resource.h ('k') | ppapi/thunk/ppb_url_response_info_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698