diff options
Diffstat (limited to 'webkit/glue/webplugin_impl.cc')
-rw-r--r-- | webkit/glue/webplugin_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/webplugin_impl.cc index 2cc4962..8c1ffa9 100644 --- a/webkit/glue/webplugin_impl.cc +++ b/webkit/glue/webplugin_impl.cc @@ -74,7 +74,7 @@ namespace { // specified in the response header. class MultiPartResponseClient : public WebURLLoaderClient { public: - MultiPartResponseClient(WebPluginResourceClient* resource_client) + explicit MultiPartResponseClient(WebPluginResourceClient* resource_client) : resource_client_(resource_client) { Clear(); } @@ -398,7 +398,7 @@ WebPluginImpl::~WebPluginImpl() { void WebPluginImpl::SetWindow(gfx::PluginWindowHandle window) { if (window) { - DCHECK(!windowless_); // Make sure not called twice. + DCHECK(!windowless_); window_ = window; if (page_delegate_) { // Tell the view delegate that the plugin window was created, so that it |