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

Side by Side Diff: Source/WebCore/html/HTMLCanvasElement.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/html/HTMLButtonElement.cpp ('k') | Source/WebCore/html/HTMLCollection.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) 2004, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 : HTMLElement(tagName, document) 75 : HTMLElement(tagName, document)
76 , m_size(DefaultWidth, DefaultHeight) 76 , m_size(DefaultWidth, DefaultHeight)
77 , m_rendererIsCanvas(false) 77 , m_rendererIsCanvas(false)
78 , m_ignoreReset(false) 78 , m_ignoreReset(false)
79 , m_deviceScaleFactor(targetDeviceScaleFactor()) 79 , m_deviceScaleFactor(targetDeviceScaleFactor())
80 , m_originClean(true) 80 , m_originClean(true)
81 , m_hasCreatedImageBuffer(false) 81 , m_hasCreatedImageBuffer(false)
82 , m_didClearImageBuffer(false) 82 , m_didClearImageBuffer(false)
83 { 83 {
84 ASSERT(hasTagName(canvasTag)); 84 ASSERT(hasTagName(canvasTag));
85 ScriptWrappable::init(this);
85 } 86 }
86 87
87 PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(Document* document) 88 PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(Document* document)
88 { 89 {
89 return adoptRef(new HTMLCanvasElement(canvasTag, document)); 90 return adoptRef(new HTMLCanvasElement(canvasTag, document));
90 } 91 }
91 92
92 PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(const QualifiedName& tag Name, Document* document) 93 PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(const QualifiedName& tag Name, Document* document)
93 { 94 {
94 return adoptRef(new HTMLCanvasElement(tagName, document)); 95 return adoptRef(new HTMLCanvasElement(tagName, document));
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 HTMLElement::reportMemoryUsage(memoryObjectInfo); 596 HTMLElement::reportMemoryUsage(memoryObjectInfo);
596 info.addMember(m_observers, "observers"); 597 info.addMember(m_observers, "observers");
597 info.addMember(m_context, "context"); 598 info.addMember(m_context, "context");
598 info.addMember(m_imageBuffer, "imageBuffer"); 599 info.addMember(m_imageBuffer, "imageBuffer");
599 info.addMember(m_contextStateSaver, "contextStateSaver"); 600 info.addMember(m_contextStateSaver, "contextStateSaver");
600 info.addMember(m_presentedImage, "presentedImage"); 601 info.addMember(m_presentedImage, "presentedImage");
601 info.addMember(m_copiedImage, "copiedImage"); 602 info.addMember(m_copiedImage, "copiedImage");
602 } 603 }
603 604
604 } 605 }
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLButtonElement.cpp ('k') | Source/WebCore/html/HTMLCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698