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

Unified Diff: components/spellcheck/common/spellcheck_result.cc

Issue 2906243002: Revert of Allow storing multiple replacements on SpellCheckResult (Closed)
Patch Set: Revert "Allow storing multiple replacements on SpellCheckResult" Created 3 years, 7 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 | « components/spellcheck/common/spellcheck_result.h ('k') | components/spellcheck/renderer/spellcheck.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/common/spellcheck_result.cc
diff --git a/components/spellcheck/common/spellcheck_result.cc b/components/spellcheck/common/spellcheck_result.cc
deleted file mode 100644
index ba5e0c922c1ed88c26883b8e08106627f1186b2b..0000000000000000000000000000000000000000
--- a/components/spellcheck/common/spellcheck_result.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/spellcheck/common/spellcheck_result.h"
-#include <vector>
-
-SpellCheckResult::SpellCheckResult(Decoration d,
- int loc,
- int len,
- const std::vector<base::string16>& rep)
- : decoration(d), location(loc), length(len), replacements(rep) {}
-
-SpellCheckResult::SpellCheckResult(Decoration d,
- int loc,
- int len,
- const base::string16& rep)
- : decoration(d),
- location(loc),
- length(len),
- replacements(std::vector<base::string16>({rep})) {}
-
-SpellCheckResult::~SpellCheckResult() = default;
-
-SpellCheckResult::SpellCheckResult(const SpellCheckResult&) = default;
« no previous file with comments | « components/spellcheck/common/spellcheck_result.h ('k') | components/spellcheck/renderer/spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698