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

Unified Diff: content/child/webcrypto/webcrypto_impl.cc

Issue 345213002: [webcrypto] Remove unused ifdef now that blink has rolled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/webcrypto_impl.cc
diff --git a/content/child/webcrypto/webcrypto_impl.cc b/content/child/webcrypto/webcrypto_impl.cc
index 563bb0c956246854db6002ecc845d78ec9fd8f8d..43b108bb0c66c8bc66dea7341af47ea9ecae1003 100644
--- a/content/child/webcrypto/webcrypto_impl.cc
+++ b/content/child/webcrypto/webcrypto_impl.cc
@@ -171,11 +171,7 @@ struct BaseState {
: origin_thread(GetCurrentBlinkThread()), result(result) {}
bool cancelled() {
-#ifdef WEBCRYPTO_RESULT_HAS_CANCELLED
return result.cancelled();
-#else
- return false;
-#endif
}
scoped_refptr<base::TaskRunner> origin_thread;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698