mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 904184: Replace "//" comment with "/**/" comment, to fix GCC "warning: multi-line comment" for trailing backslash in ASCII art. r=BenWa
This commit is contained in:
parent
ff9cd906fa
commit
038d909a91
@ -9,20 +9,21 @@
|
||||
#include "Layers.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
// Create layer tree from a simple layer tree description syntax.
|
||||
// Each index is either the first letter of the layer type or
|
||||
// a '(',')' to indicate the start/end of the child layers.
|
||||
// The aim of this function is to remove hard to read
|
||||
// layer tree creation code.
|
||||
//
|
||||
// Example "c(c(c(tt)t))" would yield:
|
||||
// c
|
||||
// |
|
||||
// c
|
||||
// / \
|
||||
// c t
|
||||
// / \
|
||||
// t t
|
||||
/* Create layer tree from a simple layer tree description syntax.
|
||||
* Each index is either the first letter of the layer type or
|
||||
* a '(',')' to indicate the start/end of the child layers.
|
||||
* The aim of this function is to remove hard to read
|
||||
* layer tree creation code.
|
||||
*
|
||||
* Example "c(c(c(tt)t))" would yield:
|
||||
* c
|
||||
* |
|
||||
* c
|
||||
* / \
|
||||
* c t
|
||||
* / \
|
||||
* t t
|
||||
*/
|
||||
already_AddRefed<mozilla::layers::Layer> CreateLayerTree(
|
||||
const char* aLayerTreeDescription,
|
||||
nsIntRegion* aVisibleRegions,
|
||||
|
Loading…
Reference in New Issue
Block a user