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

Side by Side Diff: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 { 96 {
97 return spellCheckerClient().textChecker(); 97 return spellCheckerClient().textChecker();
98 } 98 }
99 99
100 SpellChecker::SpellChecker(LocalFrame& frame) 100 SpellChecker::SpellChecker(LocalFrame& frame)
101 : m_frame(&frame) 101 : m_frame(&frame)
102 , m_spellCheckRequester(SpellCheckRequester::create(frame)) 102 , m_spellCheckRequester(SpellCheckRequester::create(frame))
103 { 103 {
104 } 104 }
105 105
106 SpellChecker::~SpellChecker()
107 {
108 }
109
110 bool SpellChecker::isContinuousSpellCheckingEnabled() const 106 bool SpellChecker::isContinuousSpellCheckingEnabled() const
111 { 107 {
112 return spellCheckerClient().isContinuousSpellCheckingEnabled(); 108 return spellCheckerClient().isContinuousSpellCheckingEnabled();
113 } 109 }
114 110
115 void SpellChecker::toggleContinuousSpellChecking() 111 void SpellChecker::toggleContinuousSpellChecking()
116 { 112 {
117 spellCheckerClient().toggleContinuousSpellChecking(); 113 spellCheckerClient().toggleContinuousSpellChecking();
118 if (isContinuousSpellCheckingEnabled()) 114 if (isContinuousSpellCheckingEnabled())
119 return; 115 return;
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 visitor->trace(m_frame); 945 visitor->trace(m_frame);
950 visitor->trace(m_spellCheckRequester); 946 visitor->trace(m_spellCheckRequester);
951 } 947 }
952 948
953 void SpellChecker::prepareForLeakDetection() 949 void SpellChecker::prepareForLeakDetection()
954 { 950 {
955 m_spellCheckRequester->prepareForLeakDetection(); 951 m_spellCheckRequester->prepareForLeakDetection();
956 } 952 }
957 953
958 } // namespace blink 954 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h ('k') | third_party/WebKit/Source/core/events/EventPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698