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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationError.cpp

Issue 2572473003: [Presentation API] PresentationRequest::getAvailability() should return the same promise (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/modules/presentation/PresentationError.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationError.cpp b/third_party/WebKit/Source/modules/presentation/PresentationError.cpp
index c40380bc0ea2cc77417089ebf109a1c6c4d26001..f238e043fc4c53f71c11317c0d5415f81d2fec48 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationError.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationError.cpp
@@ -11,8 +11,7 @@
namespace blink {
// static
-DOMException* PresentationError::take(ScriptPromiseResolver*,
- const WebPresentationError& error) {
+DOMException* PresentationError::take(const WebPresentationError& error) {
mlamouri (slow - plz ping) 2016/12/13 13:56:12 For next time, in the spirit of keeping the CLs at
zhaobin 2016/12/14 02:25:09 Sure :)
ExceptionCode code = UnknownError;
switch (error.errorType) {
case WebPresentationError::ErrorTypeNoAvailableScreens:

Powered by Google App Engine
This is Rietveld 408576698