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

Unified Diff: Source/WebCore/editing/Editor.cpp

Issue 13936003: Remove the now unused editing/mac (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge ToT diffs Created 7 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 | Source/WebCore/editing/mac/AlternativeTextUIController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/editing/Editor.cpp
diff --git a/Source/WebCore/editing/Editor.cpp b/Source/WebCore/editing/Editor.cpp
index 4e905e49a4d31bc623c008ea110da2ade76af3fb..3531f68e4ccedef98503885f1199fa16eebc8655 100644
--- a/Source/WebCore/editing/Editor.cpp
+++ b/Source/WebCore/editing/Editor.cpp
@@ -368,7 +368,6 @@ void Editor::pasteAsPlainTextWithPasteboard(Pasteboard* pasteboard)
pasteAsPlainText(text, canSmartReplaceWithPasteboard(pasteboard));
}
-#if !PLATFORM(MAC)
void Editor::pasteWithPasteboard(Pasteboard* pasteboard, bool allowPlainText)
{
RefPtr<Range> range = selectedRange();
@@ -377,7 +376,6 @@ void Editor::pasteWithPasteboard(Pasteboard* pasteboard, bool allowPlainText)
if (fragment && shouldInsertFragment(fragment, range, EditorInsertActionPasted))
pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), chosePlainText);
}
-#endif
bool Editor::canSmartReplaceWithPasteboard(Pasteboard* pasteboard)
{
« no previous file with comments | « no previous file | Source/WebCore/editing/mac/AlternativeTextUIController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698