Adapt to changes of Chrome 51 API changes (Part 2)
This commit is contained in:
parent
7ba391da7c
commit
a2bd55dd3c
48 changed files with 131 additions and 131 deletions
|
@ -322,7 +322,7 @@ bool SpellcheckWordIterator::Initialize(
|
|||
if (rule.empty())
|
||||
return false;
|
||||
|
||||
scoped_ptr<base::i18n::BreakIterator> iterator(
|
||||
std::unique_ptr<base::i18n::BreakIterator> iterator(
|
||||
new base::i18n::BreakIterator(base::string16(), rule));
|
||||
if (!iterator->Init()) {
|
||||
// Since we're not passing in any text, the only reason this could fail
|
||||
|
|
|
@ -167,7 +167,7 @@ class SpellcheckWordIterator {
|
|||
const SpellcheckCharAttribute* attribute_;
|
||||
|
||||
// The break iterator.
|
||||
scoped_ptr<base::i18n::BreakIterator> iterator_;
|
||||
std::unique_ptr<base::i18n::BreakIterator> iterator_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(SpellcheckWordIterator);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue