summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/browser/browser_plugin/browser_plugin_embedder.cc6
-rw-r--r--content/browser/browser_plugin/browser_plugin_embedder.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
index e778efb..a74d98d 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
@@ -63,12 +63,6 @@ void BrowserPluginEmbedder::StartDrag(BrowserPluginGuest* guest) {
guest_started_drag_ = guest->AsWeakPtr();
}
-void BrowserPluginEmbedder::StopDrag(BrowserPluginGuest* guest) {
- if (guest_started_drag_.get() == guest) {
- guest_started_drag_.reset();
- }
-}
-
void BrowserPluginEmbedder::GetRenderViewHostAtPosition(
int x, int y, const WebContents::GetRenderViewHostCallback& callback) {
// Store the callback so we can call it later when we have the response.
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index b4bddb8..18888d0 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -91,8 +91,6 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
void StartDrag(BrowserPluginGuest* guest);
- void StopDrag(BrowserPluginGuest* guest);
-
// Sends EndSystemDrag message to the guest that initiated the last drag/drop
// operation, if there's any.
void SystemDragEnded();