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

Unified Diff: Source/core/rendering/RenderApplet.cpp

Issue 184543002: Add UseCounter for <applet> (a boy can dream, can't he?) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 10 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderApplet.cpp
diff --git a/Source/core/rendering/RenderApplet.cpp b/Source/core/rendering/RenderApplet.cpp
index be4de73f89db4b5ae1bfed33283262ff9f005d56..38d0e4c938f0b11a81737cd1c00a5350b203968a 100644
--- a/Source/core/rendering/RenderApplet.cpp
+++ b/Source/core/rendering/RenderApplet.cpp
@@ -22,6 +22,7 @@
#include "config.h"
#include "core/rendering/RenderApplet.h"
+#include "core/frame/UseCounter.h"
#include "core/html/HTMLAppletElement.h"
namespace WebCore {
@@ -30,6 +31,7 @@ RenderApplet::RenderApplet(HTMLAppletElement* applet)
: RenderEmbeddedObject(applet)
{
setInline(true);
+ UseCounter::count(document(), UseCounter::HTMLAppletElement);
}
RenderApplet::~RenderApplet()
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698