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

Side by Side Diff: Source/core/frame/UseCounter.h

Issue 256013002: Make NodeIterator.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 CanvasRenderingContext2DSetLineCap = 333, 352 CanvasRenderingContext2DSetLineCap = 333,
353 CanvasRenderingContext2DSetLineJoin = 334, 353 CanvasRenderingContext2DSetLineJoin = 334,
354 CanvasRenderingContext2DSetMiterLimit = 335, 354 CanvasRenderingContext2DSetMiterLimit = 335,
355 CanvasRenderingContext2DClearShadow = 336, 355 CanvasRenderingContext2DClearShadow = 336,
356 CanvasRenderingContext2DSetStrokeColor = 337, 356 CanvasRenderingContext2DSetStrokeColor = 337,
357 CanvasRenderingContext2DSetFillColor = 338, 357 CanvasRenderingContext2DSetFillColor = 338,
358 CanvasRenderingContext2DDrawImageFromRect = 339, 358 CanvasRenderingContext2DDrawImageFromRect = 339,
359 CanvasRenderingContext2DSetShadow = 340, 359 CanvasRenderingContext2DSetShadow = 340,
360 PrefixedPerformanceClearResourceTimings = 341, 360 PrefixedPerformanceClearResourceTimings = 341,
361 PrefixedPerformanceSetResourceTimingBufferSize = 342, 361 PrefixedPerformanceSetResourceTimingBufferSize = 342,
362 NodeIteratorDetach = 343,
362 // Add new features immediately above this line. Don't change assigned 363 // Add new features immediately above this line. Don't change assigned
363 // numbers of any item, and don't reuse removed slots. 364 // numbers of any item, and don't reuse removed slots.
364 NumberOfFeatures, // This enum value must be last. 365 NumberOfFeatures, // This enum value must be last.
365 }; 366 };
366 367
367 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 368 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
368 static void count(const Document&, Feature); 369 static void count(const Document&, Feature);
369 static void count(const ExecutionContext*, Feature); 370 static void count(const ExecutionContext*, Feature);
370 void count(CSSParserContext, CSSPropertyID); 371 void count(CSSParserContext, CSSPropertyID);
371 void count(Feature); 372 void count(Feature);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 415
415 void updateMeasurements(); 416 void updateMeasurements();
416 417
417 OwnPtr<BitVector> m_countBits; 418 OwnPtr<BitVector> m_countBits;
418 BitVector m_CSSFeatureBits; 419 BitVector m_CSSFeatureBits;
419 }; 420 };
420 421
421 } // namespace WebCore 422 } // namespace WebCore
422 423
423 #endif // UseCounter_h 424 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698