Chromium Code Reviews| Index: third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClientImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp b/third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClientImpl.cpp |
| similarity index 82% |
| rename from third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp |
| rename to third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClientImpl.cpp |
| index 7d9ccd18e0cdb994b2946b5c166681be854e54aa..cafd5f899de70118280bb09072fbb9b491d94ef6 100644 |
| --- a/third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp |
| +++ b/third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClientImpl.cpp |
| @@ -2,13 +2,13 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "web/AudioOutputDeviceClientImpl.h" |
| +#include "modules/audio_output_devices/AudioOutputDeviceClientImpl.h" |
| +#include <memory> |
|
dcheng
2017/05/05 04:54:52
Nit: newline after
slangley
2017/05/05 06:25:00
Done
|
| #include "core/dom/Document.h" |
| #include "core/dom/ExecutionContext.h" |
| +#include "core/frame/WebLocalFrameBase.h" |
| #include "public/web/WebFrameClient.h" |
| -#include "web/WebLocalFrameImpl.h" |
| -#include <memory> |
| namespace blink { |
| @@ -24,8 +24,8 @@ void AudioOutputDeviceClientImpl::CheckIfAudioSinkExistsAndIsAuthorized( |
| DCHECK(context); |
| DCHECK(context->IsDocument()); |
| Document* document = ToDocument(context); |
| - WebLocalFrameImpl* web_frame = |
| - WebLocalFrameImpl::FromFrame(document->GetFrame()); |
| + WebLocalFrameBase* web_frame = |
| + WebLocalFrameBase::FromFrame(document->GetFrame()); |
| web_frame->Client()->CheckIfAudioSinkExistsAndIsAuthorized( |
| sink_id, WebSecurityOrigin(context->GetSecurityOrigin()), |
| callbacks.release()); |