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

Side by Side Diff: Source/web/WebKit.cpp

Issue 1230533002: Fix virtual/override/final usage in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/web/WebHelperPluginImpl.h ('k') | Source/web/WebLeakDetector.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) 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "wtf/text/AtomicString.h" 64 #include "wtf/text/AtomicString.h"
65 #include "wtf/text/TextEncoding.h" 65 #include "wtf/text/TextEncoding.h"
66 #include <v8.h> 66 #include <v8.h>
67 67
68 namespace blink { 68 namespace blink {
69 69
70 namespace { 70 namespace {
71 71
72 class EndOfTaskRunner : public WebThread::TaskObserver { 72 class EndOfTaskRunner : public WebThread::TaskObserver {
73 public: 73 public:
74 virtual void willProcessTask() override 74 void willProcessTask() override
75 { 75 {
76 AnimationClock::notifyTaskStart(); 76 AnimationClock::notifyTaskStart();
77 } 77 }
78 virtual void didProcessTask() override 78 void didProcessTask() override
79 { 79 {
80 Microtask::performCheckpoint(mainThreadIsolate()); 80 Microtask::performCheckpoint(mainThreadIsolate());
81 V8GCController::reportDOMMemoryUsageToV8(mainThreadIsolate()); 81 V8GCController::reportDOMMemoryUsageToV8(mainThreadIsolate());
82 V8Initializer::reportRejectedPromisesOnMainThread(); 82 V8Initializer::reportRejectedPromisesOnMainThread();
83 } 83 }
84 }; 84 };
85 85
86 class MainThreadTaskRunner: public WebThread::Task { 86 class MainThreadTaskRunner: public WebThread::Task {
87 WTF_MAKE_NONCOPYABLE(MainThreadTaskRunner); 87 WTF_MAKE_NONCOPYABLE(MainThreadTaskRunner);
88 public: 88 public:
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 ASSERT(!reloadPages); 294 ASSERT(!reloadPages);
295 Page::refreshPlugins(); 295 Page::refreshPlugins();
296 } 296 }
297 297
298 void decommitFreeableMemory() 298 void decommitFreeableMemory()
299 { 299 {
300 WTF::Partitions::decommitFreeableMemory(); 300 WTF::Partitions::decommitFreeableMemory();
301 } 301 }
302 302
303 } // namespace blink 303 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebHelperPluginImpl.h ('k') | Source/web/WebLeakDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698