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

Unified Diff: third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread 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
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceObserver.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
diff --git a/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp b/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
index 9187132e442dd8dc3eb7a8633ba38388b8f101ca..24c0dffe984b13b2340075c1ae13ac1fbcee4de0 100644
--- a/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
+++ b/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
@@ -65,8 +65,8 @@ double SharedWorkerPerformance::workerStart(ScriptState* script_state,
double SharedWorkerPerformance::GetWorkerStart(ExecutionContext* context,
SharedWorker&) const {
- ASSERT(context);
- ASSERT(context->IsDocument());
+ DCHECK(context);
+ DCHECK(context->IsDocument());
Document* document = ToDocument(context);
if (!document->Loader())
return 0;
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceObserver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698