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

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.idl

Issue 2873543002: First implementation of lazily cached accessor for DOM attributes. (Closed)
Patch Set: whitespace and renaming fixes Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.idl b/third_party/WebKit/Source/core/html/HTMLElement.idl
index 9c316ec8df80d81623b28f300ba9d1770d66f318..021e4c42b0b7c91df12fb51ef4a408c7cb1dffbd 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLElement.idl
@@ -22,8 +22,8 @@
[HTMLConstructor]
interface HTMLElement : Element {
// metadata attributes
- [CEReactions, Reflect] attribute DOMString title;
- [CEReactions, Reflect] attribute DOMString lang;
+ [CEReactions, Reflect, CachedAccessor=Lazy] attribute DOMString title;
+ [CEReactions, Reflect, CachedAccessor=Lazy] attribute DOMString lang;
[CEReactions] attribute boolean translate;
[CEReactions] attribute DOMString dir;
[SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.idl ('k') | third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698