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

Unified Diff: components/printing/renderer/print_web_view_helper.cc

Issue 1851293002: Remove BLINK_ASSERT() and BLINK_ASSERT_NOT_REACHED() macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn compilation. Created 4 years, 8 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/printing/renderer/print_web_view_helper.cc
diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc
index 9ee4cd9cc3c91ab72584ea76c0223434075fdbab..114923c36cd0fc9614b925e0f57d8c3384eb04cc 100644
--- a/components/printing/renderer/print_web_view_helper.cc
+++ b/components/printing/renderer/print_web_view_helper.cc
@@ -623,6 +623,10 @@ class PrepareFrameAndViewForPrint : public blink::WebViewClient,
blink::WebSandboxFlags sandbox_flags,
const blink::WebFrameOwnerProperties& frame_owner_properties) override;
void frameDetached(blink::WebFrame* frame, DetachType type) override;
+ void checkIfAudioSinkExistsAndIsAuthorized(
+ const blink::WebString& sinkId,
+ const blink::WebSecurityOrigin&,
+ blink::WebSetSinkIdCallbacks*) override;
void CallOnReady();
void ResizeForPrinting();
@@ -785,6 +789,13 @@ void PrepareFrameAndViewForPrint::frameDetached(blink::WebFrame* frame,
frame->close();
}
+void PrepareFrameAndViewForPrint::checkIfAudioSinkExistsAndIsAuthorized(
+ const blink::WebString& sinkId,
+ const blink::WebSecurityOrigin&,
+ blink::WebSetSinkIdCallbacks*) {
+ NOTREACHED();
+}
+
void PrepareFrameAndViewForPrint::CallOnReady() {
return on_ready_.Run(); // Can delete |this|.
}

Powered by Google App Engine
This is Rietveld 408576698