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

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

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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
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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 Platform::current()->histogramEnumeration(name, sample, boundaryValue); 149 Platform::current()->histogramEnumeration(name, sample, boundaryValue);
150 } 150 }
151 151
152 static void cryptographicallyRandomValues(unsigned char* buffer, size_t length) 152 static void cryptographicallyRandomValues(unsigned char* buffer, size_t length)
153 { 153 {
154 Platform::current()->cryptographicallyRandomValues(buffer, length); 154 Platform::current()->cryptographicallyRandomValues(buffer, length);
155 } 155 }
156 156
157 static void callOnMainThreadFunction(WTF::MainThreadFunction function, void* con text) 157 static void callOnMainThreadFunction(WTF::MainThreadFunction function, void* con text)
158 { 158 {
159 Platform::current()->mainThread()->taskRunner()->postTask(FROM_HERE, new Mai nThreadTaskRunner(function, context)); 159 Platform::current()->mainThread()->taskRunner()->postTask(BLINK_FROM_HERE, n ew MainThreadTaskRunner(function, context));
160 } 160 }
161 161
162 static void adjustAmountOfExternalAllocatedMemory(int size) 162 static void adjustAmountOfExternalAllocatedMemory(int size)
163 { 163 {
164 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(size); 164 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(size);
165 } 165 }
166 166
167 void initializeWithoutV8(Platform* platform) 167 void initializeWithoutV8(Platform* platform)
168 { 168 {
169 ASSERT(!s_webKitInitialized); 169 ASSERT(!s_webKitInitialized);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 ASSERT(!reloadPages); 289 ASSERT(!reloadPages);
290 Page::refreshPlugins(); 290 Page::refreshPlugins();
291 } 291 }
292 292
293 void decommitFreeableMemory() 293 void decommitFreeableMemory()
294 { 294 {
295 WTF::Partitions::decommitFreeableMemory(); 295 WTF::Partitions::decommitFreeableMemory();
296 } 296 }
297 297
298 } // namespace blink 298 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebHelperPluginImpl.cpp ('k') | third_party/WebKit/Source/web/WebLeakDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698