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

Unified Diff: third_party/WebKit/Source/modules/document_metadata/CopylessPasteServer.cpp

Issue 2813003002: Connect CopylessPasteExtractor to CopylessPasteServer (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/document_metadata/CopylessPasteServer.cpp
diff --git a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteServer.cpp b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteServer.cpp
index a91dbbb0891243473ae2e1eafc18507af677a10d..7890a88a332b3002a6046878236e171ea25feb04 100644
--- a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteServer.cpp
+++ b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteServer.cpp
@@ -28,9 +28,7 @@ void CopylessPasteServer::GetEntities(const GetEntitiesCallback& callback) {
callback.Run(nullptr);
return;
}
- // TODO(wychen): connect with CopylessPasteExtractor::extract() like:
- // callback.Run(CopylessPasteExtractor::extract(*m_frame->document()));
- callback.Run(nullptr);
+ callback.Run(CopylessPasteExtractor::extract(*frame_->GetDocument()));
}
} // namespace blink
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698