
goog.ui.Menu.addItem and friends are deprecated, and the deprecation message suggests use of goog.ui.Container.addChild. However, the original implementation passes opt_render as true, but by default, addChild sets opt_render to false.
This CL suggests a course of action that preserves the current behavior.

R=nicksantos
DELTA=3  (1 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=1888


yamadatomonori/closure-library,yamadatomonori/closure-library,yamadatomonori/closure-library