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:
Daniel Holbert 2013-08-12 13:40:28 -07:00
parent ff9cd906fa
commit 038d909a91

View File

@ -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,