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

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

Issue 835363003: Oilpan: add missing leftmost trace()s for GC mixins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 29 matching lines...) Expand all
40 40
41 PassOwnPtrWillBeRawPtr<DatabaseClientImpl> DatabaseClientImpl::create() 41 PassOwnPtrWillBeRawPtr<DatabaseClientImpl> DatabaseClientImpl::create()
42 { 42 {
43 return adoptPtrWillBeNoop(new DatabaseClientImpl()); 43 return adoptPtrWillBeNoop(new DatabaseClientImpl());
44 } 44 }
45 45
46 DatabaseClientImpl::~DatabaseClientImpl() 46 DatabaseClientImpl::~DatabaseClientImpl()
47 { 47 {
48 } 48 }
49 49
50 void DatabaseClientImpl::trace(Visitor* visitor)
51 {
52 DatabaseClient::trace(visitor);
53 }
54
50 bool DatabaseClientImpl::allowDatabase(ExecutionContext* executionContext, const String& name, const String& displayName, unsigned long estimatedSize) 55 bool DatabaseClientImpl::allowDatabase(ExecutionContext* executionContext, const String& name, const String& displayName, unsigned long estimatedSize)
51 { 56 {
52 ASSERT(executionContext->isContextThread()); 57 ASSERT(executionContext->isContextThread());
53 Document* document = toDocument(executionContext); 58 Document* document = toDocument(executionContext);
54 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame() ); 59 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame() );
55 if (!webFrame) 60 if (!webFrame)
56 return false; 61 return false;
57 if (webFrame->permissionClient()) 62 if (webFrame->permissionClient())
58 return webFrame->permissionClient()->allowDatabase(name, displayName, es timatedSize); 63 return webFrame->permissionClient()->allowDatabase(name, displayName, es timatedSize);
59 return true; 64 return true;
60 } 65 }
61 66
62 DatabaseClientImpl::DatabaseClientImpl() 67 DatabaseClientImpl::DatabaseClientImpl()
63 { 68 {
64 } 69 }
65 70
66 } // namespace blink 71 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698