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

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: Removing flag from features.gypi 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
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 namespace WebKit { 71 namespace WebKit {
72 72
73 namespace { 73 namespace {
74 74
75 class EndOfTaskRunner : public WebThread::TaskObserver { 75 class EndOfTaskRunner : public WebThread::TaskObserver {
76 public: 76 public:
77 virtual void willProcessTask() { } 77 virtual void willProcessTask() { }
78 virtual void didProcessTask() 78 virtual void didProcessTask()
79 { 79 {
80 #if ENABLE(CUSTOM_ELEMENTS)
81 WebCore::CustomElementRegistry::deliverAllLifecycleCallbacks(); 80 WebCore::CustomElementRegistry::deliverAllLifecycleCallbacks();
82 #endif
83 WebCore::MutationObserver::deliverAllMutations(); 81 WebCore::MutationObserver::deliverAllMutations();
84 } 82 }
85 }; 83 };
86 84
87 } // namespace 85 } // namespace
88 86
89 static WebThread::TaskObserver* s_endOfTaskRunner = 0; 87 static WebThread::TaskObserver* s_endOfTaskRunner = 0;
90 88
91 // Make sure we are not re-initialized in the same address space. 89 // Make sure we are not re-initialized in the same address space.
92 // Doing so may cause hard to reproduce crashes. 90 // Doing so may cause hard to reproduce crashes.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 UNUSED_PARAM(name); 211 UNUSED_PARAM(name);
214 #endif // !LOG_DISABLED 212 #endif // !LOG_DISABLED
215 } 213 }
216 214
217 void resetPluginCache(bool reloadPages) 215 void resetPluginCache(bool reloadPages)
218 { 216 {
219 WebCore::Page::refreshPlugins(reloadPages); 217 WebCore::Page::refreshPlugins(reloadPages);
220 } 218 }
221 219
222 } // namespace WebKit 220 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698