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

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 2605293002: Add WARN_UNUSED_RESULT to base::Time methods that return bool. (Closed)
Patch Set: Fix ChromeOS unit-test Created 3 years, 12 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: components/nacl/renderer/ppb_nacl_private_impl.cc
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
index d39b2b701e22b1567a8ed474a2c7ae06e1e05e7a..7f4785a7f3ac33f3a54467162d3ce28f01583d1e 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -1623,7 +1623,8 @@ class PexeDownloader : public blink::WebAssociatedURLLoaderClient {
std::string last_modified =
response.httpHeaderField("last-modified").utf8();
base::Time last_modified_time;
- base::Time::FromString(last_modified.c_str(), &last_modified_time);
+ ignore_result(
+ base::Time::FromString(last_modified.c_str(), &last_modified_time));
digit1 2017/01/03 15:29:13 note: I'm not sure this is the right thing to do h
bool has_no_store_header = false;
std::string cache_control =

Powered by Google App Engine
This is Rietveld 408576698