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

Side by Side Diff: Source/core/dom/CustomElementCallbackDispatcher.cpp

Issue 18258003: Pow __proto__, sock :unresolved, and clunk the created callback at once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Try to be nicer to MSVC. Created 7 years, 5 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 | Annotate | Revision Log
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } while (!m_invocations.isEmpty()); 59 } while (!m_invocations.isEmpty());
60 60
61 return true; 61 return true;
62 } 62 }
63 63
64 void CustomElementCallbackDispatcher::enqueueCreatedCallback(CustomElementLifecy cleCallbacks* callbacks, Element* element) 64 void CustomElementCallbackDispatcher::enqueueCreatedCallback(CustomElementLifecy cleCallbacks* callbacks, Element* element)
65 { 65 {
66 if (!callbacks->hasCreated()) 66 if (!callbacks->hasCreated())
67 return; 67 return;
68 68
69 m_invocations.append(CreatedInvocation(callbacks, element)); 69 m_invocations.prepend(CreatedInvocation(callbacks, element));
70 } 70 }
71 71
72 } // namespace WebCore 72 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp ('k') | Source/core/dom/CustomElementRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698