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

Unified Diff: Source/modules/presentation/PresentationError.h

Issue 1212423003: Presentation API: Blink changes to allow getAvailability() to be rejected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@presentation-availability-cleanups
Patch Set: Created 5 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: Source/modules/presentation/PresentationError.h
diff --git a/Source/modules/presentation/PresentationError.h b/Source/modules/presentation/PresentationError.h
index 9469dc13d973bd698f11a291d260f55f65f37e6f..3fa29cee31cf1f31773ee6bdc40602da215723bf 100644
--- a/Source/modules/presentation/PresentationError.h
+++ b/Source/modules/presentation/PresentationError.h
@@ -16,10 +16,10 @@ class DOMException;
class PresentationError final {
WTF_MAKE_NONCOPYABLE(PresentationError);
public:
- static DOMException* take(WebPresentationError*);
- static void dispose(WebPresentationError*);
+ static DOMException* take(const WebPresentationError&);
private:
+ PresentationError() = delete;
~PresentationError() = delete;
};
« no previous file with comments | « Source/modules/presentation/PresentationController.cpp ('k') | Source/modules/presentation/PresentationError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698