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

Side by Side Diff: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp

Issue 2926243002: Remove unused include in CSSSelectorWatch. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 20 matching lines...) Expand all
31 #include "core/dom/CSSSelectorWatch.h" 31 #include "core/dom/CSSSelectorWatch.h"
32 32
33 #include "core/css/StylePropertySet.h" 33 #include "core/css/StylePropertySet.h"
34 #include "core/css/parser/CSSParser.h" 34 #include "core/css/parser/CSSParser.h"
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/dom/ExecutionContext.h" 36 #include "core/dom/ExecutionContext.h"
37 #include "core/dom/StyleEngine.h" 37 #include "core/dom/StyleEngine.h"
38 #include "core/dom/TaskRunnerHelper.h" 38 #include "core/dom/TaskRunnerHelper.h"
39 #include "core/frame/LocalFrame.h" 39 #include "core/frame/LocalFrame.h"
40 #include "core/frame/LocalFrameClient.h" 40 #include "core/frame/LocalFrameClient.h"
41 #include "core/style/StyleRareNonInheritedData.h"
42 41
43 namespace blink { 42 namespace blink {
44 43
45 // The address of this string is important; its value is just documentation. 44 // The address of this string is important; its value is just documentation.
46 static const char kSupplementNameWatch[] = "CSSSelectorWatch"; 45 static const char kSupplementNameWatch[] = "CSSSelectorWatch";
47 46
48 CSSSelectorWatch::CSSSelectorWatch(Document& document) 47 CSSSelectorWatch::CSSSelectorWatch(Document& document)
49 : Supplement<Document>(document), 48 : Supplement<Document>(document),
50 callback_selector_change_timer_( 49 callback_selector_change_timer_(
51 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, &document), 50 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, &document),
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 166 }
168 GetSupplementable()->GetStyleEngine().WatchedSelectorsChanged(); 167 GetSupplementable()->GetStyleEngine().WatchedSelectorsChanged();
169 } 168 }
170 169
171 DEFINE_TRACE(CSSSelectorWatch) { 170 DEFINE_TRACE(CSSSelectorWatch) {
172 visitor->Trace(watched_callback_selectors_); 171 visitor->Trace(watched_callback_selectors_);
173 Supplement<Document>::Trace(visitor); 172 Supplement<Document>::Trace(visitor);
174 } 173 }
175 174
176 } // namespace blink 175 } // namespace blink
OLDNEW
« 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