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

Side by Side Diff: Source/WebKit/chromium/src/WebKit.cpp

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing. 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 namespace WebKit { 63 namespace WebKit {
64 64
65 namespace { 65 namespace {
66 66
67 class EndOfTaskRunner : public WebThread::TaskObserver { 67 class EndOfTaskRunner : public WebThread::TaskObserver {
68 public: 68 public:
69 virtual void willProcessTask() { } 69 virtual void willProcessTask() { }
70 virtual void didProcessTask() 70 virtual void didProcessTask()
71 { 71 {
72 #if ENABLE(CUSTOM_ELEMENTS)
73 WebCore::CustomElementRegistry::deliverAllLifecycleCallbacks(); 72 WebCore::CustomElementRegistry::deliverAllLifecycleCallbacks();
74 #endif
75 WebCore::MutationObserver::deliverAllMutations(); 73 WebCore::MutationObserver::deliverAllMutations();
76 } 74 }
77 }; 75 };
78 76
79 } // namespace 77 } // namespace
80 78
81 static WebThread::TaskObserver* s_endOfTaskRunner = 0; 79 static WebThread::TaskObserver* s_endOfTaskRunner = 0;
82 80
83 // Make sure we are not re-initialized in the same address space. 81 // Make sure we are not re-initialized in the same address space.
84 // Doing so may cause hard to reproduce crashes. 82 // Doing so may cause hard to reproduce crashes.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 UNUSED_PARAM(name); 197 UNUSED_PARAM(name);
200 #endif // !LOG_DISABLED 198 #endif // !LOG_DISABLED
201 } 199 }
202 200
203 void resetPluginCache(bool reloadPages) 201 void resetPluginCache(bool reloadPages)
204 { 202 {
205 WebCore::Page::refreshPlugins(reloadPages); 203 WebCore::Page::refreshPlugins(reloadPages);
206 } 204 }
207 205
208 } // namespace WebKit 206 } // namespace WebKit
OLDNEW
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698